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 | 27c8e798398ad4b5947d37cd485def4e036523d7 (patch) | |
| tree | 1ee55d85ec5bc1c38aeccba86901de67dcb5e59f /llvm/lib | |
| parent | 07f6563e813dc65c0c48e5b185ada52f93a66b8c (diff) | |
| download | bcm5719-llvm-27c8e798398ad4b5947d37cd485def4e036523d7.tar.gz bcm5719-llvm-27c8e798398ad4b5947d37cd485def4e036523d7.zip | |
Delete this code, which is no longer needed.
llvm-svn: 101033
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp b/llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp index 7882a9aefa2..19f78f424ce 100644 --- a/llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp +++ b/llvm/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 |

