From 2e2be60e0386c33b3e28a29af3ddfbafafc45aea Mon Sep 17 00:00:00 2001 From: Jakob Stoklund Olesen Date: Tue, 5 Oct 2010 22:19:35 +0000 Subject: 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 --- lib/CodeGen/SplitKit.cpp | 6 ------ 1 file changed, 6 deletions(-) (limited to 'lib/CodeGen') diff --git a/lib/CodeGen/SplitKit.cpp b/lib/CodeGen/SplitKit.cpp index bb37240..1864e37 100644 --- a/lib/CodeGen/SplitKit.cpp +++ b/lib/CodeGen/SplitKit.cpp @@ -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: -- cgit v1.1