diff options
author | Dan Gohman <gohman@apple.com> | 2010-04-12 08:00:22 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2010-04-12 08:00:22 +0000 |
commit | ef817ccec44fd960d80cd6129aec1a1622cbe9f7 (patch) | |
tree | 2c3681d8388f68a9b899439ca00c11433c85ed96 /lib/Transforms/Scalar/LoopStrengthReduce.cpp | |
parent | d890f29ca6b467203db9fa63aa558eff86046c84 (diff) |
Delete this code, which is no longer needed.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101033 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Scalar/LoopStrengthReduce.cpp')
-rw-r--r-- | lib/Transforms/Scalar/LoopStrengthReduce.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/Transforms/Scalar/LoopStrengthReduce.cpp b/lib/Transforms/Scalar/LoopStrengthReduce.cpp index 7882a9aefa..19f78f424c 100644 --- a/lib/Transforms/Scalar/LoopStrengthReduce.cpp +++ b/lib/Transforms/Scalar/LoopStrengthReduce.cpp @@ -2907,10 +2907,6 @@ LSRInstance::AdjustInsertPositionForExpand(BasicBlock::iterator IP, BB = DT.findNearestCommonDominator(BB, ExitingBlocks[i]); Inputs.push_back(BB->getTerminator()); } - - // Be dominated by the loop latch, if it's unique. - if (BasicBlock *Latch = PIL->getLoopLatch()) - Inputs.push_back(prior(BasicBlock::iterator(Latch->getTerminator()))); } // Then, climb up the immediate dominator tree as far as we can go while |