mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-30 06:40:53 +00:00
We can split around loops with multiple exits now.
llvm-svn: 115696
This commit is contained in:
parent
8137fd6975
commit
592949c742
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user