mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-07 14:33:15 +00:00
We can split around loops with multiple exits now.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115696 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
57d0f2deb0
commit
2e2be60e03
@ -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…
x
Reference in New Issue
Block a user