[llvm-commits] [llvm] r125257 - /llvm/trunk/lib/Transforms/Scalar/LoopStrengthReduce.cpp

Eric Christopher echristo at apple.com
Wed Feb 9 17:48:24 PST 2011


Author: echristo
Date: Wed Feb  9 19:48:24 2011
New Revision: 125257

URL: http://llvm.org/viewvc/llvm-project?rev=125257&view=rev
Log:
Revert this in an attempt to bring the builders back.

Modified:
    llvm/trunk/lib/Transforms/Scalar/LoopStrengthReduce.cpp

Modified: llvm/trunk/lib/Transforms/Scalar/LoopStrengthReduce.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/LoopStrengthReduce.cpp?rev=125257&r1=125256&r2=125257&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/LoopStrengthReduce.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/LoopStrengthReduce.cpp Wed Feb  9 19:48:24 2011
@@ -3815,15 +3815,15 @@
 void LoopStrengthReduce::getAnalysisUsage(AnalysisUsage &AU) const {
   // We split critical edges, so we change the CFG.  However, we do update
   // many analyses if they are around.
+  AU.addPreservedID(LoopSimplifyID);
 
+  AU.addRequired<LoopInfo>();
+  AU.addPreserved<LoopInfo>();
+  AU.addRequiredID(LoopSimplifyID);
   AU.addRequired<DominatorTree>();
   AU.addPreserved<DominatorTree>();
   AU.addRequired<ScalarEvolution>();
   AU.addPreserved<ScalarEvolution>();
-  AU.addRequired<LoopInfo>();
-  AU.addPreserved<LoopInfo>();
-  AU.addRequiredID(LoopSimplifyID);
-  AU.addPreservedID(LoopSimplifyID);
   AU.addRequired<IVUsers>();
   AU.addPreserved<IVUsers>();
 }





More information about the llvm-commits mailing list