Fix warning by cl::opt<int> -> cl::opt<unsigned>

llvm-svn: 329461
This commit is contained in:
Vitaly Buka 2018-04-06 21:41:17 +00:00
parent 0913ca1978
commit 9cb59b92cc
1 changed files with 5 additions and 4 deletions

View File

@ -111,8 +111,9 @@ static cl::opt<std::string> ClWriteSummary(
cl::desc("Write summary to given YAML file after running pass"),
cl::Hidden);
static cl::opt<int> ClThreshold("wholeprogramdevirt-branch-funnel-threshold",
cl::Hidden, cl::init(10), cl::ZeroOrMore,
static cl::opt<unsigned>
ClThreshold("wholeprogramdevirt-branch-funnel-threshold", cl::Hidden,
cl::init(10), cl::ZeroOrMore,
cl::desc("Maximum number of call targets per "
"call site to enable branch funnels"));