summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Scalar/SpeculativeExecution.cpp
diff options
context:
space:
mode:
authorChad Rosier <mcrosier@codeaurora.org>2016-05-02 19:06:02 +0000
committerChad Rosier <mcrosier@codeaurora.org>2016-05-02 19:06:02 +0000
commit4466ff50eb78400e2bdc71919e3b82ab81ab8747 (patch)
treefdc1483ed11274a2c4fa495343fc38245c8b4c4f /llvm/lib/Transforms/Scalar/SpeculativeExecution.cpp
parentfc28827216197d7b8ca6dc0968faf6a7a53966d8 (diff)
downloadbcm5719-llvm-4466ff50eb78400e2bdc71919e3b82ab81ab8747.tar.gz
bcm5719-llvm-4466ff50eb78400e2bdc71919e3b82ab81ab8747.zip
Use false rather than 0 for a boolean value. NFC.
llvm-svn: 268279
Diffstat (limited to 'llvm/lib/Transforms/Scalar/SpeculativeExecution.cpp')
-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