OSDN Git Service

Livestacks really does preserve everything.
authorEvan Cheng <evan.cheng@apple.com>
Mon, 22 Sep 2008 22:26:15 +0000 (22:26 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Mon, 22 Sep 2008 22:26:15 +0000 (22:26 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56476 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/LiveStackAnalysis.cpp

index 0670570..2baf699 100644 (file)
@@ -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);
 }