This code doesn't actually use the ExitingBlocks list.

llvm-svn: 64376
This commit is contained in:
Dan Gohman 2009-02-12 16:36:26 +00:00
parent 0fa412cc6d
commit e0d32c490a
1 changed files with 0 additions and 3 deletions

View File

@ -785,9 +785,6 @@ void LICM::FindPromotableValuesInLoop(
std::map<Value*, AllocaInst*> &ValueToAllocaMap) { std::map<Value*, AllocaInst*> &ValueToAllocaMap) {
Instruction *FnStart = CurLoop->getHeader()->getParent()->begin()->begin(); Instruction *FnStart = CurLoop->getHeader()->getParent()->begin()->begin();
SmallVector<BasicBlock*, 4> ExitingBlocks;
CurLoop->getExitingBlocks(ExitingBlocks);
// Loop over all of the alias sets in the tracker object. // Loop over all of the alias sets in the tracker object.
for (AliasSetTracker::iterator I = CurAST->begin(), E = CurAST->end(); for (AliasSetTracker::iterator I = CurAST->begin(), E = CurAST->end();
I != E; ++I) { I != E; ++I) {