summaryrefslogtreecommitdiff
path: root/lib/CodeGen/LiveStackAnalysis.cpp
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2008-09-22 22:26:15 +0000
committerEvan Cheng <evan.cheng@apple.com>2008-09-22 22:26:15 +0000
commitef901c57563eb841ac86648d533272776706cb64 (patch)
tree77efcebd0a1776ce8a0b964dfb2c132a0201ad8f /lib/CodeGen/LiveStackAnalysis.cpp
parent8b56a90bec639665fc024896d2fc2bdd095c76a3 (diff)
downloadllvm-ef901c57563eb841ac86648d533272776706cb64.tar.gz
llvm-ef901c57563eb841ac86648d533272776706cb64.tar.bz2
llvm-ef901c57563eb841ac86648d533272776706cb64.tar.xz
Livestacks really does preserve everything.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56476 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/LiveStackAnalysis.cpp')
-rw-r--r--lib/CodeGen/LiveStackAnalysis.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/CodeGen/LiveStackAnalysis.cpp b/lib/CodeGen/LiveStackAnalysis.cpp
index 0670570ddf..2baf699c66 100644
--- a/lib/CodeGen/LiveStackAnalysis.cpp
+++ b/lib/CodeGen/LiveStackAnalysis.cpp
@@ -25,8 +25,7 @@ char LiveStacks::ID = 0;
static RegisterPass<LiveStacks> X("livestacks", "Live Stack Slot Analysis");
void LiveStacks::getAnalysisUsage(AnalysisUsage &AU) const {
- AU.addPreservedID(MachineLoopInfoID);
- AU.addPreservedID(MachineDominatorsID);
+ AU.setPreservesAll();
MachineFunctionPass::getAnalysisUsage(AU);
}