[llvm-commits] [llvm] r41798 - /llvm/trunk/lib/Transforms/Scalar/IndVarSimplify.cpp
Devang Patel
dpatel at apple.com
Mon Sep 10 11:08:24 PDT 2007
Author: dpatel
Date: Mon Sep 10 13:08:23 2007
New Revision: 41798
URL: http://llvm.org/viewvc/llvm-project?rev=41798&view=rev
Log:
Require SCEV before LCSSA.
Modified:
llvm/trunk/lib/Transforms/Scalar/IndVarSimplify.cpp
Modified: llvm/trunk/lib/Transforms/Scalar/IndVarSimplify.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/IndVarSimplify.cpp?rev=41798&r1=41797&r2=41798&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/IndVarSimplify.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/IndVarSimplify.cpp Mon Sep 10 13:08:23 2007
@@ -75,9 +75,9 @@
bool runOnLoop(Loop *L, LPPassManager &LPM);
bool doInitialization(Loop *L, LPPassManager &LPM);
virtual void getAnalysisUsage(AnalysisUsage &AU) const {
+ AU.addRequired<ScalarEvolution>();
AU.addRequiredID(LCSSAID);
AU.addRequiredID(LoopSimplifyID);
- AU.addRequired<ScalarEvolution>();
AU.addRequired<LoopInfo>();
AU.addPreservedID(LoopSimplifyID);
AU.addPreservedID(LCSSAID);
More information about the llvm-commits
mailing list