commit | 845012e6d31799c7fbd1193fa1af8ee2d12e9231 | [log] [tgz] |
---|---|---|
author | Dan Gohman <gohman@apple.com> | Fri Jul 31 23:37:33 2009 +0000 |
committer | Dan Gohman <gohman@apple.com> | Fri Jul 31 23:37:33 2009 +0000 |
tree | 64ec9abb5dfd8100874df062a8e0793b3721810a | |
parent | a3477fe06df794e0eae26ea243f25912c619a6c4 [diff] [blame] |
Use setPreservesAll and setPreservesCFG in CodeGen passes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77754 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/PostRASchedulerList.cpp b/lib/CodeGen/PostRASchedulerList.cpp index b90a6dd..3cd8847 100644 --- a/lib/CodeGen/PostRASchedulerList.cpp +++ b/lib/CodeGen/PostRASchedulerList.cpp
@@ -59,6 +59,7 @@ PostRAScheduler() : MachineFunctionPass(&ID) {} void getAnalysisUsage(AnalysisUsage &AU) const { + AU.setPreservesCFG(); AU.addRequired<MachineDominatorTree>(); AU.addPreserved<MachineDominatorTree>(); AU.addRequired<MachineLoopInfo>();