[llvm-commits] CVS: llvm/lib/CodeGen/LiveIntervals.cpp

Alkis Evlogimenos alkis at cs.uiuc.edu
Sun Dec 14 22:56:00 PST 2003


Changes in directory llvm/lib/CodeGen:

LiveIntervals.cpp updated: 1.7 -> 1.8

---
Log message:

Change preserve all claim to just preserve live variables and phielimination.


---
Diffs of the changes:  (+2 -1)

Index: llvm/lib/CodeGen/LiveIntervals.cpp
diff -u llvm/lib/CodeGen/LiveIntervals.cpp:1.7 llvm/lib/CodeGen/LiveIntervals.cpp:1.8
--- llvm/lib/CodeGen/LiveIntervals.cpp:1.7	Sun Dec 14 07:24:17 2003
+++ llvm/lib/CodeGen/LiveIntervals.cpp	Sun Dec 14 22:55:38 2003
@@ -45,8 +45,9 @@
 
 void LiveIntervals::getAnalysisUsage(AnalysisUsage &AU) const
 {
-    AU.setPreservesAll();
+    AU.addPreserved<LiveVariables>();
     AU.addRequired<LiveVariables>();
+    AU.addPreservedID(PHIEliminationID);
     AU.addRequiredID(PHIEliminationID);
     MachineFunctionPass::getAnalysisUsage(AU);
 }





More information about the llvm-commits mailing list