Machine CSE preserves CFG. Pass manager was freeing machineloopinfo after machine cse before.

llvm-svn: 111281
This commit is contained in:
Evan Cheng 2010-08-17 20:57:42 +00:00
parent 135bcc791b
commit e0db9d01d9
1 changed files with 1 additions and 0 deletions

View File

@ -49,6 +49,7 @@ namespace {
AU.setPreservesCFG();
MachineFunctionPass::getAnalysisUsage(AU);
AU.addRequired<AliasAnalysis>();
AU.addPreservedID(MachineLoopInfoID);
AU.addRequired<MachineDominatorTree>();
AU.addPreserved<MachineDominatorTree>();
}