projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[MachineDominatorTree] Provide a method to inform a MachineDominatorTree that a
[oota-llvm.git]
/
lib
/
CodeGen
/
MachineDominators.cpp
diff --git
a/lib/CodeGen/MachineDominators.cpp
b/lib/CodeGen/MachineDominators.cpp
index 04c8ecbf9bdc1e1e236faef8c456d50a1517fa9e..df60cf34b610eb471fc31c8dea50b761612874f1 100644
(file)
--- a/
lib/CodeGen/MachineDominators.cpp
+++ b/
lib/CodeGen/MachineDominators.cpp
@@
-35,6
+35,8
@@
void MachineDominatorTree::getAnalysisUsage(AnalysisUsage &AU) const {
}
bool MachineDominatorTree::runOnMachineFunction(MachineFunction &F) {
+ CriticalEdgesToSplit.clear();
+ NewBBs.clear();
DT->recalculate(F);
return false;