summaryrefslogtreecommitdiffstats
path: root/llvm/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
commitbab5988017e08cd65f59fe30a7b72809654bf746 (patch)
treefd5eb2632c38b3cfb14918453abb68ac3763c5f6 /llvm/lib/CodeGen/LiveStackAnalysis.cpp
parent962c2cf17a5037893e0cd6f9f724ce01f83906d6 (diff)
downloadbcm5719-llvm-bab5988017e08cd65f59fe30a7b72809654bf746.tar.gz
bcm5719-llvm-bab5988017e08cd65f59fe30a7b72809654bf746.zip
Livestacks really does preserve everything.
llvm-svn: 56476
Diffstat (limited to 'llvm/lib/CodeGen/LiveStackAnalysis.cpp')
-rw-r--r--llvm/lib/CodeGen/LiveStackAnalysis.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/LiveStackAnalysis.cpp b/llvm/lib/CodeGen/LiveStackAnalysis.cpp
index 0670570ddf5..2baf699c66c 100644
--- a/llvm/lib/CodeGen/LiveStackAnalysis.cpp
+++ b/llvm/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);
}
OpenPOWER on IntegriCloud