diff options
author | Eric Christopher <echristo@apple.com> | 2011-02-10 01:48:24 +0000 |
---|---|---|
committer | Eric Christopher <echristo@apple.com> | 2011-02-10 01:48:24 +0000 |
commit | 6793c49bb4b7d20532e530404740422036d84788 (patch) | |
tree | 2c94b50f64c5f52b14e5be26190ef68cbd22f526 /lib/Transforms/Scalar/LoopStrengthReduce.cpp | |
parent | b45c7c270c2845b8ad3322ef44a1ce2032ed0113 (diff) | |
download | llvm-6793c49bb4b7d20532e530404740422036d84788.tar.gz llvm-6793c49bb4b7d20532e530404740422036d84788.tar.bz2 llvm-6793c49bb4b7d20532e530404740422036d84788.tar.xz |
Revert this in an attempt to bring the builders back.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@125257 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Scalar/LoopStrengthReduce.cpp')
-rw-r--r-- | lib/Transforms/Scalar/LoopStrengthReduce.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/Transforms/Scalar/LoopStrengthReduce.cpp b/lib/Transforms/Scalar/LoopStrengthReduce.cpp index dcee08b523..01dcfaf065 100644 --- a/lib/Transforms/Scalar/LoopStrengthReduce.cpp +++ b/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>(); } |