[llvm-commits] CVS: llvm/lib/Transforms/Scalar/IndVarSimplify.cpp

Chris Lattner lattner at cs.uiuc.edu
Thu Apr 22 10:13:03 PDT 2004


Changes in directory llvm/lib/Transforms/Scalar:

IndVarSimplify.cpp updated: 1.62 -> 1.63

---
Log message:

Disable a previous patch that was causing indvars to loop infinitely :(


---
Diffs of the changes:  (+2 -0)

Index: llvm/lib/Transforms/Scalar/IndVarSimplify.cpp
diff -u llvm/lib/Transforms/Scalar/IndVarSimplify.cpp:1.62 llvm/lib/Transforms/Scalar/IndVarSimplify.cpp:1.63
--- llvm/lib/Transforms/Scalar/IndVarSimplify.cpp:1.62	Thu Apr 22 09:59:40 2004
+++ llvm/lib/Transforms/Scalar/IndVarSimplify.cpp	Thu Apr 22 10:12:36 2004
@@ -454,6 +454,7 @@
     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 @@
           }          
         }
     }
+#endif
 
   DeleteTriviallyDeadInstructions(DeadInsts);
 }





More information about the llvm-commits mailing list