projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d890f29
)
Delete this code, which is no longer needed.
author
Dan Gohman
<gohman@apple.com>
Mon, 12 Apr 2010 08:00:22 +0000
(08:00 +0000)
committer
Dan Gohman
<gohman@apple.com>
Mon, 12 Apr 2010 08:00:22 +0000
(08:00 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101033
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/Scalar/LoopStrengthReduce.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/Scalar/LoopStrengthReduce.cpp
b/lib/Transforms/Scalar/LoopStrengthReduce.cpp
index 7882a9aefa24121ab504dd3ed6b27aa6fdee7a33..19f78f424ce9a830ad4cf497f95502d88d56137c 100644
(file)
--- 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