summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/X86/X86FloatingPoint.cpp
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2008-09-22 22:21:38 +0000
committerEvan Cheng <evan.cheng@apple.com>2008-09-22 22:21:38 +0000
commit962c2cf17a5037893e0cd6f9f724ce01f83906d6 (patch)
tree295239e379c5b0cbe79aa80c52a49d0c2a2804f3 /llvm/lib/Target/X86/X86FloatingPoint.cpp
parent3276416fa4bf1b567dc02588f76ef07bf8bdbbc4 (diff)
downloadbcm5719-llvm-962c2cf17a5037893e0cd6f9f724ce01f83906d6.tar.gz
bcm5719-llvm-962c2cf17a5037893e0cd6f9f724ce01f83906d6.zip
Instead of setPreservesAll, just mark them preseving machine loop info and machine dominators.
llvm-svn: 56475
Diffstat (limited to 'llvm/lib/Target/X86/X86FloatingPoint.cpp')
-rw-r--r--llvm/lib/Target/X86/X86FloatingPoint.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/Target/X86/X86FloatingPoint.cpp b/llvm/lib/Target/X86/X86FloatingPoint.cpp
index 758ed495c47..ccb344dcaf6 100644
--- a/llvm/lib/Target/X86/X86FloatingPoint.cpp
+++ b/llvm/lib/Target/X86/X86FloatingPoint.cpp
@@ -56,7 +56,8 @@ namespace {
FPS() : MachineFunctionPass(&ID) {}
virtual void getAnalysisUsage(AnalysisUsage &AU) const {
- AU.setPreservesAll();
+ AU.addPreservedID(MachineLoopInfoID);
+ AU.addPreservedID(MachineDominatorsID);
MachineFunctionPass::getAnalysisUsage(AU);
}
OpenPOWER on IntegriCloud