summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/Transforms')
-rw-r--r--llvm/lib/Transforms/Scalar/SpeculativeExecution.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Scalar/SpeculativeExecution.cpp b/llvm/lib/Transforms/Scalar/SpeculativeExecution.cpp
index 2d49d763fc4..1c39ba6be15 100644
--- a/llvm/lib/Transforms/Scalar/SpeculativeExecution.cpp
+++ b/llvm/lib/Transforms/Scalar/SpeculativeExecution.cpp
@@ -93,7 +93,7 @@ static cl::opt<unsigned> SpecExecMaxNotHoisted(
"exceeds this limit."));
static cl::opt<bool> SpecExecOnlyIfDivergentTarget(
- "spec-exec-only-if-divergent-target", cl::init(0), cl::Hidden,
+ "spec-exec-only-if-divergent-target", cl::init(false), cl::Hidden,
cl::desc("Speculative execution is applied only to targets with divergent "
"branches, even if the pass was configured to apply only to all "
"targets."));
OpenPOWER on IntegriCloud