Use false rather than 0 for a boolean value. NFC.
authorChad Rosier <mcrosier@codeaurora.org>
Mon, 2 May 2016 19:06:02 +0000 (19:06 +0000)
committerChad Rosier <mcrosier@codeaurora.org>
Mon, 2 May 2016 19:06:02 +0000 (19:06 +0000)
llvm-svn: 268279

llvm/lib/Transforms/Scalar/SpeculativeExecution.cpp

index 2d49d76..1c39ba6 100644 (file)
@@ -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."));