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
This commit is contained in:
Dan Gohman 2010-04-12 08:00:22 +00:00
parent d890f29ca6
commit ef817ccec4

View File

@ -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