summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/Transforms')
-rw-r--r--llvm/lib/Transforms/Scalar/IndVarSimplify.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Scalar/IndVarSimplify.cpp b/llvm/lib/Transforms/Scalar/IndVarSimplify.cpp
index e240c42e36c..b5500dec6e7 100644
--- a/llvm/lib/Transforms/Scalar/IndVarSimplify.cpp
+++ b/llvm/lib/Transforms/Scalar/IndVarSimplify.cpp
@@ -60,7 +60,7 @@ STATISTIC(NumElimIV , "Number of congruent IVs eliminated");
namespace llvm {
cl::opt<bool> EnableIVRewrite(
- "enable-iv-rewrite", cl::Hidden,
+ "enable-iv-rewrite", cl::Hidden, cl::init(true),
cl::desc("Enable canonical induction variable rewriting"));
// Trip count verification can be enabled by default under NDEBUG if we
OpenPOWER on IntegriCloud