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:
17b1418
)
Run computeDomForest() on the set of registers that need to be tested for
author
Owen Anderson
<resistor@mac.com>
Tue, 13 Nov 2007 20:13:24 +0000
(20:13 +0000)
committer
Owen Anderson
<resistor@mac.com>
Tue, 13 Nov 2007 20:13:24 +0000
(20:13 +0000)
interference.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44064
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/StrongPHIElimination.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/StrongPHIElimination.cpp
b/lib/CodeGen/StrongPHIElimination.cpp
index a1654deceb249c9f6c07d2c3c2de7d168fbb85f5..d023b59277a7843100b334fc688a0dc2a5a06f70 100644
(file)
--- a/
lib/CodeGen/StrongPHIElimination.cpp
+++ b/
lib/CodeGen/StrongPHIElimination.cpp
@@
-285,14
+285,15
@@
void StrongPHIElimination::processBlock(MachineBasicBlock* MBB) {
} else {
PHIUnion.insert(SrcReg);
UnionedBlocks.insert(SrcInfo.DefInst->getParent());
-
- // DO STUFF HERE
-
}
-
- ProcessedNames.insert(PHIUnion.begin(), PHIUnion.end());
}
+ std::vector<StrongPHIElimination::DomForestNode*> DF =
+ computeDomForest(PHIUnion);
+
+ // DO STUFF HERE
+
+ ProcessedNames.insert(PHIUnion.begin(), PHIUnion.end());
++P;
}
}