aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/Transforms/Scalar/IndVarSimplify.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Transforms/Scalar/IndVarSimplify.cpp b/lib/Transforms/Scalar/IndVarSimplify.cpp
index 6ffe80a74f..d452ca1e18 100644
--- a/lib/Transforms/Scalar/IndVarSimplify.cpp
+++ b/lib/Transforms/Scalar/IndVarSimplify.cpp
@@ -454,6 +454,7 @@ void IndVarSimplify::runOnLoop(Loop *L) {
Changed = true;
}
+#if 0
// Now replace all derived expressions in the loop body with simpler
// expressions.
for (unsigned i = 0, e = L->getBlocks().size(); i != e; ++i)
@@ -478,6 +479,7 @@ void IndVarSimplify::runOnLoop(Loop *L) {
}
}
}
+#endif
DeleteTriviallyDeadInstructions(DeadInsts);
}