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,10 +111,11 @@ 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,
cl::desc("Maximum number of call targets per "
"call site to enable branch funnels"));
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"));
// Find the minimum offset that we may store a value of size Size bits at. If
// IsAfter is set, look for an offset before the object, otherwise look for an