diff options
author | Evan Cheng <evan.cheng@apple.com> | 2008-09-22 22:26:15 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2008-09-22 22:26:15 +0000 |
commit | ef901c57563eb841ac86648d533272776706cb64 (patch) | |
tree | 77efcebd0a1776ce8a0b964dfb2c132a0201ad8f /lib/CodeGen/LiveStackAnalysis.cpp | |
parent | 8b56a90bec639665fc024896d2fc2bdd095c76a3 (diff) | |
download | llvm-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.cpp | 3 |
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); } |