diff --git a/llvm/lib/Transforms/Scalar/SpeculativeExecution.cpp b/llvm/lib/Transforms/Scalar/SpeculativeExecution.cpp index 2d49d763fc4c..1c39ba6be155 100644 --- a/llvm/lib/Transforms/Scalar/SpeculativeExecution.cpp +++ b/llvm/lib/Transforms/Scalar/SpeculativeExecution.cpp @@ -93,7 +93,7 @@ static cl::opt SpecExecMaxNotHoisted( "exceeds this limit.")); static cl::opt 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."));