mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 11:02:59 +02:00
Add cl::ZeroOrMore to get around build system issues
It is quite common to get multiple instances of optimization flags while building. The following optimizations does not have cl::ZeroOrMore which causes errors during the build. Reviewers: alexbdv,spop Differential Revision: https://reviews.llvm.org/D81187
This commit is contained in:
parent
9e16b5cc8b
commit
60d72160a7
@ -100,8 +100,8 @@ static cl::opt<bool>
|
||||
EnablePerformThinLTO("perform-thinlto", cl::init(false), cl::Hidden,
|
||||
cl::desc("Enable performing ThinLTO."));
|
||||
|
||||
cl::opt<bool> EnableHotColdSplit("hot-cold-split", cl::init(false), cl::Hidden,
|
||||
cl::desc("Enable hot-cold splitting pass"));
|
||||
cl::opt<bool> EnableHotColdSplit("hot-cold-split", cl::init(false),
|
||||
cl::ZeroOrMore, cl::desc("Enable hot-cold splitting pass"));
|
||||
|
||||
static cl::opt<bool> UseLoopVersioningLICM(
|
||||
"enable-loop-versioning-licm", cl::init(false), cl::Hidden,
|
||||
@ -117,7 +117,7 @@ static cl::opt<int> PreInlineThreshold(
|
||||
"(default = 75)"));
|
||||
|
||||
static cl::opt<bool> EnableGVNHoist(
|
||||
"enable-gvn-hoist", cl::init(false), cl::Hidden,
|
||||
"enable-gvn-hoist", cl::init(false), cl::ZeroOrMore,
|
||||
cl::desc("Enable the GVN hoisting pass (default = off)"));
|
||||
|
||||
static cl::opt<bool>
|
||||
@ -131,7 +131,7 @@ static cl::opt<bool> EnableSimpleLoopUnswitch(
|
||||
"cleanup passes integrated into the loop pass manager pipeline."));
|
||||
|
||||
static cl::opt<bool> EnableGVNSink(
|
||||
"enable-gvn-sink", cl::init(false), cl::Hidden,
|
||||
"enable-gvn-sink", cl::init(false), cl::ZeroOrMore,
|
||||
cl::desc("Enable the GVN sinking pass (default = off)"));
|
||||
|
||||
// This option is used in simplifying testing SampleFDO optimizations for
|
||||
|
Loading…
Reference in New Issue
Block a user