projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Turns out AnalyzeBranch can modify the mbb being analyzed. This is a nasty
[oota-llvm.git]
/
lib
/
CodeGen
/
LiveStackAnalysis.cpp
diff --git
a/lib/CodeGen/LiveStackAnalysis.cpp
b/lib/CodeGen/LiveStackAnalysis.cpp
index 9358c105705d144b4eae4cf894c7708bdb28307b..2baf699c66c71f576e71cd5f1ec9301a1f8d3346 100644
(file)
--- a/
lib/CodeGen/LiveStackAnalysis.cpp
+++ b/
lib/CodeGen/LiveStackAnalysis.cpp
@@
-26,6
+26,7
@@
static RegisterPass<LiveStacks> X("livestacks", "Live Stack Slot Analysis");
void LiveStacks::getAnalysisUsage(AnalysisUsage &AU) const {
AU.setPreservesAll();
+ MachineFunctionPass::getAnalysisUsage(AU);
}
void LiveStacks::releaseMemory() {