summaryrefslogtreecommitdiff
path: root/lib/CodeGen
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2010-10-05 22:19:35 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2010-10-05 22:19:35 +0000
commit2e2be60e0386c33b3e28a29af3ddfbafafc45aea (patch)
tree9a4612000f71aad1be9ac7cfb793d9eb3dc6498e /lib/CodeGen
parent57d0f2deb0afefe69770a28937a4363e7b1f9753 (diff)
downloadllvm-2e2be60e0386c33b3e28a29af3ddfbafafc45aea.tar.gz
llvm-2e2be60e0386c33b3e28a29af3ddfbafafc45aea.tar.bz2
llvm-2e2be60e0386c33b3e28a29af3ddfbafafc45aea.tar.xz
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
Diffstat (limited to 'lib/CodeGen')
-rw-r--r--lib/CodeGen/SplitKit.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/CodeGen/SplitKit.cpp b/lib/CodeGen/SplitKit.cpp
index bb372403a6..1864e37813 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: