[llvm-commits] CVS: llvm/lib/Target/X86/FloatingPoint.cpp
Alkis Evlogimenos
alkis at cs.uiuc.edu
Sun Dec 14 04:15:02 PST 2003
Changes in directory llvm/lib/Target/X86:
FloatingPoint.cpp updated: 1.12 -> 1.13
---
Log message:
Change preserve all claim to just preserve live variables and phielimination.
---
Diffs of the changes: (+2 -1)
Index: llvm/lib/Target/X86/FloatingPoint.cpp
diff -u llvm/lib/Target/X86/FloatingPoint.cpp:1.12 llvm/lib/Target/X86/FloatingPoint.cpp:1.13
--- llvm/lib/Target/X86/FloatingPoint.cpp:1.12 Fri Dec 12 23:36:22 2003
+++ llvm/lib/Target/X86/FloatingPoint.cpp Sun Dec 14 04:14:23 2003
@@ -608,8 +608,9 @@
virtual const char *getPassName() const { return "X86 FP Killer"; }
virtual bool runOnMachineFunction(MachineFunction &MF);
virtual void 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