[llvm] r268279 - Use false rather than 0 for a boolean value. NFC.
Chad Rosier via llvm-commits
llvm-commits at lists.llvm.org
Mon May 2 12:06:02 PDT 2016
Author: mcrosier
Date: Mon May 2 14:06:02 2016
New Revision: 268279
URL: http://llvm.org/viewvc/llvm-project?rev=268279&view=rev
Log:
Use false rather than 0 for a boolean value. NFC.
Modified:
llvm/trunk/lib/Transforms/Scalar/SpeculativeExecution.cpp
Modified: llvm/trunk/lib/Transforms/Scalar/SpeculativeExecution.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/SpeculativeExecution.cpp?rev=268279&r1=268278&r2=268279&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/SpeculativeExecution.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/SpeculativeExecution.cpp Mon May 2 14:06:02 2016
@@ -93,7 +93,7 @@ static cl::opt<unsigned> SpecExecMaxNotH
"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."));
More information about the llvm-commits
mailing list