diff options
| author | Dan Gohman <gohman@apple.com> | 2009-07-31 23:37:33 +0000 |
|---|---|---|
| committer | Dan Gohman <gohman@apple.com> | 2009-07-31 23:37:33 +0000 |
| commit | 0402315d4108d8e469a4e50e41314a1fce7cb747 (patch) | |
| tree | d4797c7c447e7878a0087f29529d2ab6e66a483e /llvm/lib/CodeGen/MachineModuleInfo.cpp | |
| parent | 10b8898ac06d712e4588c15d68ed68469e006411 (diff) | |
| download | bcm5719-llvm-0402315d4108d8e469a4e50e41314a1fce7cb747.tar.gz bcm5719-llvm-0402315d4108d8e469a4e50e41314a1fce7cb747.zip | |
Use setPreservesAll and setPreservesCFG in CodeGen passes.
llvm-svn: 77754
Diffstat (limited to 'llvm/lib/CodeGen/MachineModuleInfo.cpp')
| -rw-r--r-- | llvm/lib/CodeGen/MachineModuleInfo.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/MachineModuleInfo.cpp b/llvm/lib/CodeGen/MachineModuleInfo.cpp index 20b819e8235..df9d7cab095 100644 --- a/llvm/lib/CodeGen/MachineModuleInfo.cpp +++ b/llvm/lib/CodeGen/MachineModuleInfo.cpp @@ -306,6 +306,7 @@ struct DebugLabelFolder : public MachineFunctionPass { DebugLabelFolder() : MachineFunctionPass(&ID) {} virtual void getAnalysisUsage(AnalysisUsage &AU) const { + AU.setPreservesCFG(); AU.addPreservedID(MachineLoopInfoID); AU.addPreservedID(MachineDominatorsID); MachineFunctionPass::getAnalysisUsage(AU); |

