summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2011-02-10 01:48:24 +0000
committerEric Christopher <echristo@apple.com>2011-02-10 01:48:24 +0000
commitda6bd4508880ea9d0401e3bd0cf1858dc7c58b8f (patch)
tree8245d3ec087be437e2c17e3c15d6ca1ab3d8a1de /llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
parent5f3a39e79a3ecc6841fd2a859ae34cafe1ebec80 (diff)
downloadbcm5719-llvm-da6bd4508880ea9d0401e3bd0cf1858dc7c58b8f.tar.gz
bcm5719-llvm-da6bd4508880ea9d0401e3bd0cf1858dc7c58b8f.zip
Revert this in an attempt to bring the builders back.
llvm-svn: 125257
Diffstat (limited to 'llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp')
-rw-r--r--llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp b/llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
index dcee08b5238..01dcfaf0652 100644
--- a/llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
+++ b/llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
@@ -3815,15 +3815,15 @@ LoopStrengthReduce::LoopStrengthReduce(const TargetLowering *tli)
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>();
}
OpenPOWER on IntegriCloud