Revert my previous patch. Since there are some major changes that went in today,
authorOwen Anderson <resistor@mac.com>
Fri, 25 Aug 2006 03:45:57 +0000 (03:45 +0000)
committerOwen Anderson <resistor@mac.com>
Fri, 25 Aug 2006 03:45:57 +0000 (03:45 +0000)
I'm going to wait to put this in HEAD until tomorrow, so as not to clutter the nightly
tester.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29868 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Scalar/IndVarSimplify.cpp

index cf2daa1ddc18b895ebae6fd81860866485388272..efa587b221ec1b1e881cfcee8959a7aaef533705 100644 (file)
@@ -79,7 +79,6 @@ namespace {
       AU.addRequired<ScalarEvolution>();
       AU.addRequired<LoopInfo>();
       AU.addPreservedID(LoopSimplifyID);
-      AU.addPreservedID(LCSSAID);
       AU.setPreservesCFG();
     }
   private:
@@ -571,6 +570,4 @@ void IndVarSimplify::runOnLoop(Loop *L) {
 #endif
 
   DeleteTriviallyDeadInstructions(DeadInsts);
-  
-  assert(L->isLCSSAForm());
 }