diff options
author | Chris Lattner <sabre@nondot.org> | 2004-04-22 15:12:36 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-04-22 15:12:36 +0000 |
commit | b4782d13d1444d9d18c0a681292cf0d0a32cf3ef (patch) | |
tree | 9252eaf89eb10458732662d41d13297557ad4fc5 | |
parent | 7d221c53e521edd36cc1d9f42fdb4d3201d5e014 (diff) |
Disable a previous patch that was causing indvars to loop infinitely :(
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13108 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Transforms/Scalar/IndVarSimplify.cpp | 2 |
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); } |