forked from OSchip/llvm-project
[SimpleLoopUnswitch] Allow threshold to be specified zero or more times
Differential Revision: https://reviews.llvm.org/D110594
This commit is contained in:
parent
1e4cfe5e4f
commit
df1f03280c
|
@ -81,6 +81,7 @@ static cl::opt<bool> EnableNonTrivialUnswitch(
|
|||
|
||||
static cl::opt<int>
|
||||
UnswitchThreshold("unswitch-threshold", cl::init(50), cl::Hidden,
|
||||
cl::ZeroOrMore,
|
||||
cl::desc("The cost threshold for unswitching a loop."));
|
||||
|
||||
static cl::opt<bool> EnableUnswitchCostMultiplier(
|
||||
|
|
Loading…
Reference in New Issue