We can split around loops with multiple exits now.

llvm-svn: 115696
This commit is contained in:
Jakob Stoklund Olesen 2010-10-05 22:19:35 +00:00
parent 89d276aa48
commit 2dfa8be26a
1 changed files with 0 additions and 6 deletions

View File

@ -251,12 +251,6 @@ const MachineLoop *SplitAnalysis::getBestSplitLoop() {
const MachineLoop *Loop = I->first;
getLoopBlocks(Loop, Blocks);
// FIXME: We need an SSA updater to properly handle multiple exit blocks.
if (Blocks.Exits.size() > 1) {
DEBUG(dbgs() << " multiple exits from " << *Loop);
continue;
}
LoopPtrSet *LPS = 0;
switch(analyzeLoopPeripheralUse(Blocks)) {
case OutsideLoop: