aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/CodeGenPrepare.cpp
diff options
context:
space:
mode:
authorFangrui Song <i@maskray.me>2022-06-05 00:31:44 -0700
committerFangrui Song <i@maskray.me>2022-06-05 00:31:44 -0700
commitd86a206f06a51c12a9fcf2c20199f4e819751c0c (patch)
tree863e591c1cf2032925cdc13e79d9c3f424a636a0 /llvm/lib/CodeGen/CodeGenPrepare.cpp
parent2c4d52467a25aed5ec9ed868fe8b74a1a67d1535 (diff)
downloadllvm-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/CodeGen/CodeGenPrepare.cpp')
-rw-r--r--llvm/lib/CodeGen/CodeGenPrepare.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/CodeGenPrepare.cpp b/llvm/lib/CodeGen/CodeGenPrepare.cpp
index 44a9891..aaf97066 100644
--- a/llvm/lib/CodeGen/CodeGenPrepare.cpp
+++ b/llvm/lib/CodeGen/CodeGenPrepare.cpp
@@ -177,8 +177,7 @@ static cl::opt<bool> ProfileGuidedSectionPrefix(
cl::desc("Use profile info to add section prefix for hot/cold functions"));
static cl::opt<bool> ProfileUnknownInSpecialSection(
- "profile-unknown-in-special-section", cl::Hidden, cl::init(false),
- cl::ZeroOrMore,
+ "profile-unknown-in-special-section", cl::Hidden,
cl::desc("In profiling mode like sampleFDO, if a function doesn't have "
"profile, we cannot tell the function is cold for sure because "
"it may be a function newly added without ever being sampled. "