diff options
author | Vitaly Buka <vitalybuka@google.com> | 2018-04-06 21:41:17 +0000 |
---|---|---|
committer | Vitaly Buka <vitalybuka@google.com> | 2018-04-06 21:41:17 +0000 |
commit | 9cb59b92ccf7abaa61f5deeb48a59f1b774e4893 (patch) | |
tree | a14a4ca1d09c599a70ab5072803612e49915844a /llvm/lib/Transforms/IPO/WholeProgramDevirt.cpp | |
parent | 0913ca197855626c93fdae4184ae80ff5a26503a (diff) | |
download | bcm5719-llvm-9cb59b92ccf7abaa61f5deeb48a59f1b774e4893.tar.gz bcm5719-llvm-9cb59b92ccf7abaa61f5deeb48a59f1b774e4893.zip |
Fix warning by cl::opt<int> -> cl::opt<unsigned>
llvm-svn: 329461
Diffstat (limited to 'llvm/lib/Transforms/IPO/WholeProgramDevirt.cpp')
-rw-r--r-- | llvm/lib/Transforms/IPO/WholeProgramDevirt.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/llvm/lib/Transforms/IPO/WholeProgramDevirt.cpp b/llvm/lib/Transforms/IPO/WholeProgramDevirt.cpp index 2c08cd82a5b..8012b6f61c9 100644 --- a/llvm/lib/Transforms/IPO/WholeProgramDevirt.cpp +++ b/llvm/lib/Transforms/IPO/WholeProgramDevirt.cpp @@ -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 |