Disable a previous patch that was causing indvars to loop infinitely :(
authorChris Lattner <sabre@nondot.org>
Thu, 22 Apr 2004 15:12:36 +0000 (15:12 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 22 Apr 2004 15:12:36 +0000 (15:12 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13108 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Scalar/IndVarSimplify.cpp

index 6ffe80a74f74159b80149943b8f188907b721ef9..d452ca1e1805179e55b1582049002f6b9c89d218 100644 (file)
@@ -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);
 }