aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/X86/X86FloatingPoint.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-08-01 00:26:16 +0000
committerDan Gohman <gohman@apple.com>2009-08-01 00:26:16 +0000
commitdf09055cdb124a0d53258ad09d3a1d62bdb7dd19 (patch)
tree3b2aec2867a480402bc1b5195d53ce014f95e7f7 /lib/Target/X86/X86FloatingPoint.cpp
parentb620724e614c6594e7b269b6ea7d8483947ea944 (diff)
X86 floating-point passes don't modify the CFG.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77757 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/X86FloatingPoint.cpp')
-rw-r--r--lib/Target/X86/X86FloatingPoint.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Target/X86/X86FloatingPoint.cpp b/lib/Target/X86/X86FloatingPoint.cpp
index 14bffdc799..5fa7b82299 100644
--- a/lib/Target/X86/X86FloatingPoint.cpp
+++ b/lib/Target/X86/X86FloatingPoint.cpp
@@ -57,6 +57,7 @@ namespace {
FPS() : MachineFunctionPass(&ID) {}
virtual void getAnalysisUsage(AnalysisUsage &AU) const {
+ AU.setPreservesCFG();
AU.addPreservedID(MachineLoopInfoID);
AU.addPreservedID(MachineDominatorsID);
MachineFunctionPass::getAnalysisUsage(AU);