projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
57d0f2d
)
We can split around loops with multiple exits now.
author
Jakob Stoklund Olesen
<stoklund@2pi.dk>
Tue, 5 Oct 2010 22:19:35 +0000
(22:19 +0000)
committer
Jakob Stoklund Olesen
<stoklund@2pi.dk>
Tue, 5 Oct 2010 22:19:35 +0000
(22:19 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115696
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/SplitKit.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/SplitKit.cpp
b/lib/CodeGen/SplitKit.cpp
index bb372403a6c3d953809ba803270d5eccf07f7152..1864e3781321d243840504c49a5495c57ee435a8 100644
(file)
--- 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: