aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/Scalar/IndVarSimplify.cpp
diff options
context:
space:
mode:
authorAndrew Trick <atrick@apple.com>2011-09-15 20:58:37 +0000
committerAndrew Trick <atrick@apple.com>2011-09-15 20:58:37 +0000
commitb0598b14aa011a18e6a760e448741f62018fb4a3 (patch)
tree8ac3a818bc27cc63605b3a039a14a7f65cfc2f41 /lib/Transforms/Scalar/IndVarSimplify.cpp
parented15ab1aadea6216b30ccfc659b194d09f44ca14 (diff)
Reapply r139759. Disable IV rewriting by default. See PR10916.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139842 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Scalar/IndVarSimplify.cpp')
-rw-r--r--lib/Transforms/Scalar/IndVarSimplify.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Transforms/Scalar/IndVarSimplify.cpp b/lib/Transforms/Scalar/IndVarSimplify.cpp
index b5500dec6e..e240c42e36 100644
--- a/lib/Transforms/Scalar/IndVarSimplify.cpp
+++ b/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, cl::init(true),
+ "enable-iv-rewrite", cl::Hidden,
cl::desc("Enable canonical induction variable rewriting"));
// Trip count verification can be enabled by default under NDEBUG if we