[llvm-commits] [llvm] r56476 - /llvm/trunk/lib/CodeGen/LiveStackAnalysis.cpp
Evan Cheng
evan.cheng at apple.com
Mon Sep 22 15:26:15 PDT 2008
Author: evancheng
Date: Mon Sep 22 17:26:15 2008
New Revision: 56476
URL: http://llvm.org/viewvc/llvm-project?rev=56476&view=rev
Log:
Livestacks really does preserve everything.
Modified:
llvm/trunk/lib/CodeGen/LiveStackAnalysis.cpp
Modified: llvm/trunk/lib/CodeGen/LiveStackAnalysis.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/LiveStackAnalysis.cpp?rev=56476&r1=56475&r2=56476&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/LiveStackAnalysis.cpp (original)
+++ llvm/trunk/lib/CodeGen/LiveStackAnalysis.cpp Mon Sep 22 17:26:15 2008
@@ -25,8 +25,7 @@
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);
}
More information about the llvm-commits
mailing list