diff options
author | Devang Patel <dpatel@apple.com> | 2007-09-10 18:08:23 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2007-09-10 18:08:23 +0000 |
commit | bc533cd1286ebb393c37a2a8b03079bfc9655585 (patch) | |
tree | 325bd9afd4e258228f7d890c353cf885a59418ff /lib/Transforms/Scalar/IndVarSimplify.cpp | |
parent | 7fad7e3db87c80f18a449c44394ee32c4e2af136 (diff) |
Require SCEV before LCSSA.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41798 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Scalar/IndVarSimplify.cpp')
-rw-r--r-- | lib/Transforms/Scalar/IndVarSimplify.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Transforms/Scalar/IndVarSimplify.cpp b/lib/Transforms/Scalar/IndVarSimplify.cpp index 5e82ad0f7b..e1092b1f52 100644 --- a/lib/Transforms/Scalar/IndVarSimplify.cpp +++ b/lib/Transforms/Scalar/IndVarSimplify.cpp @@ -75,9 +75,9 @@ namespace { 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); |