forked from OSchip/llvm-project
Delete this code, which is no longer needed.
llvm-svn: 101033
This commit is contained in:
parent
07f6563e81
commit
27c8e79839
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue