From b4782d13d1444d9d18c0a681292cf0d0a32cf3ef Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Thu, 22 Apr 2004 15:12:36 +0000 Subject: [PATCH] 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 --- lib/Transforms/Scalar/IndVarSimplify.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/Transforms/Scalar/IndVarSimplify.cpp b/lib/Transforms/Scalar/IndVarSimplify.cpp index 6ffe80a74f7..d452ca1e180 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); }