diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2010-10-05 22:19:35 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2010-10-05 22:19:35 +0000 |
commit | 2e2be60e0386c33b3e28a29af3ddfbafafc45aea (patch) | |
tree | 9a4612000f71aad1be9ac7cfb793d9eb3dc6498e | |
parent | 57d0f2deb0afefe69770a28937a4363e7b1f9753 (diff) | |
download | external_llvm-2e2be60e0386c33b3e28a29af3ddfbafafc45aea.zip external_llvm-2e2be60e0386c33b3e28a29af3ddfbafafc45aea.tar.gz external_llvm-2e2be60e0386c33b3e28a29af3ddfbafafc45aea.tar.bz2 |
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
-rw-r--r-- | lib/CodeGen/SplitKit.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
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: |