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 | 2dfa8be26a14cb6b9ba3fdcf3debda0fc44c9fc5 (patch) | |
tree | f5a7bd221a1420871970de9fe948b43658270355 /llvm | |
parent | 89d276aa480787782ebf1d0baeed527865b46149 (diff) | |
download | bcm5719-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.cpp | 6 |
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: |