diff options
author | Alkis Evlogimenos <alkis@evlogimenos.com> | 2003-12-14 10:14:23 +0000 |
---|---|---|
committer | Alkis Evlogimenos <alkis@evlogimenos.com> | 2003-12-14 10:14:23 +0000 |
commit | 97323a47d88315b98e5ac38d64ba2a9e3f02b501 (patch) | |
tree | 1d984cfabac21a1183785128af29f0c94fb9f008 /lib | |
parent | b40efb3394c0b56dad5eb8f8b10d78549194cef4 (diff) | |
download | external_llvm-97323a47d88315b98e5ac38d64ba2a9e3f02b501.zip external_llvm-97323a47d88315b98e5ac38d64ba2a9e3f02b501.tar.gz external_llvm-97323a47d88315b98e5ac38d64ba2a9e3f02b501.tar.bz2 |
Change preserve all claim to just preserve live variables and phielimination.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10460 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Target/X86/FloatingPoint.cpp | 3 | ||||
-rw-r--r-- | lib/Target/X86/X86FloatingPoint.cpp | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/lib/Target/X86/FloatingPoint.cpp b/lib/Target/X86/FloatingPoint.cpp index b6bae6d..8a9eefa 100644 --- a/lib/Target/X86/FloatingPoint.cpp +++ b/lib/Target/X86/FloatingPoint.cpp @@ -608,8 +608,9 @@ namespace { 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); } diff --git a/lib/Target/X86/X86FloatingPoint.cpp b/lib/Target/X86/X86FloatingPoint.cpp index b6bae6d..8a9eefa 100644 --- a/lib/Target/X86/X86FloatingPoint.cpp +++ b/lib/Target/X86/X86FloatingPoint.cpp @@ -608,8 +608,9 @@ namespace { 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); } |