aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/StrongPHIElimination.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-07-31 23:37:33 +0000
committerDan Gohman <gohman@apple.com>2009-07-31 23:37:33 +0000
commit845012e6d31799c7fbd1193fa1af8ee2d12e9231 (patch)
tree64ec9abb5dfd8100874df062a8e0793b3721810a /lib/CodeGen/StrongPHIElimination.cpp
parenta3477fe06df794e0eae26ea243f25912c619a6c4 (diff)
Use setPreservesAll and setPreservesCFG in CodeGen passes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77754 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/StrongPHIElimination.cpp')
-rw-r--r--lib/CodeGen/StrongPHIElimination.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/CodeGen/StrongPHIElimination.cpp b/lib/CodeGen/StrongPHIElimination.cpp
index efd19fa999..a352e366de 100644
--- a/lib/CodeGen/StrongPHIElimination.cpp
+++ b/lib/CodeGen/StrongPHIElimination.cpp
@@ -71,6 +71,7 @@ namespace {
bool runOnMachineFunction(MachineFunction &Fn);
virtual void getAnalysisUsage(AnalysisUsage &AU) const {
+ AU.setPreservesCFG();
AU.addRequired<MachineDominatorTree>();
AU.addRequired<LiveIntervals>();