summaryrefslogtreecommitdiffstats
path: root/llvm
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
commit2dfa8be26a14cb6b9ba3fdcf3debda0fc44c9fc5 (patch)
treef5a7bd221a1420871970de9fe948b43658270355 /llvm
parent89d276aa480787782ebf1d0baeed527865b46149 (diff)
downloadbcm5719-llvm-2dfa8be26a14cb6b9ba3fdcf3debda0fc44c9fc5.tar.gz
bcm5719-llvm-2dfa8be26a14cb6b9ba3fdcf3debda0fc44c9fc5.zip
We can split around loops with multiple exits now.
llvm-svn: 115696
Diffstat (limited to 'llvm')
-rw-r--r--llvm/lib/CodeGen/SplitKit.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/llvm/lib/CodeGen/SplitKit.cpp b/llvm/lib/CodeGen/SplitKit.cpp
index bb372403a6c..1864e378132 100644
--- a/llvm/lib/CodeGen/SplitKit.cpp
+++ b/llvm/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:
OpenPOWER on IntegriCloud