diff options
author | Fangrui Song <i@maskray.me> | 2022-06-05 00:31:44 -0700 |
---|---|---|
committer | Fangrui Song <i@maskray.me> | 2022-06-05 00:31:44 -0700 |
commit | d86a206f06a51c12a9fcf2c20199f4e819751c0c (patch) | |
tree | 863e591c1cf2032925cdc13e79d9c3f424a636a0 /llvm/lib/Analysis/InlineCost.cpp | |
parent | 2c4d52467a25aed5ec9ed868fe8b74a1a67d1535 (diff) | |
download | llvm-d86a206f06a51c12a9fcf2c20199f4e819751c0c.zip llvm-d86a206f06a51c12a9fcf2c20199f4e819751c0c.tar.gz llvm-d86a206f06a51c12a9fcf2c20199f4e819751c0c.tar.bz2 |
Remove unneeded cl::ZeroOrMore for cl::opt/cl::list options
Diffstat (limited to 'llvm/lib/Analysis/InlineCost.cpp')
-rw-r--r-- | llvm/lib/Analysis/InlineCost.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/llvm/lib/Analysis/InlineCost.cpp b/llvm/lib/Analysis/InlineCost.cpp index 33cff7c..0e8e017 100644 --- a/llvm/lib/Analysis/InlineCost.cpp +++ b/llvm/lib/Analysis/InlineCost.cpp @@ -51,7 +51,6 @@ STATISTIC(NumCallsAnalyzed, "Number of call sites analyzed"); static cl::opt<int> DefaultThreshold("inlinedefault-threshold", cl::Hidden, cl::init(225), - cl::ZeroOrMore, cl::desc("Default amount of inlining to perform")); // We introduce this option since there is a minor compile-time win by avoiding @@ -91,7 +90,6 @@ static cl::opt<int> InlineSavingsMultiplier( static cl::opt<int> InlineSizeAllowance("inline-size-allowance", cl::Hidden, cl::init(100), - cl::ZeroOrMore, cl::desc("The maximum size of a callee that get's " "inlined without sufficient cycle savings")); @@ -104,7 +102,6 @@ static cl::opt<int> ColdThreshold( static cl::opt<int> HotCallSiteThreshold("hot-callsite-threshold", cl::Hidden, cl::init(3000), - cl::ZeroOrMore, cl::desc("Threshold for hot callsites ")); static cl::opt<int> LocallyHotCallSiteThreshold( @@ -134,7 +131,6 @@ static cl::opt<bool> OptComputeFullInlineCost( static cl::opt<bool> InlineCallerSupersetNoBuiltin( "inline-caller-superset-nobuiltin", cl::Hidden, cl::init(true), - cl::ZeroOrMore, cl::desc("Allow inlining when caller has a superset of callee's nobuiltin " "attributes.")); |