Loop Rotation pass preserves dominator tree and frontier.

llvm-svn: 40603
This commit is contained in:
Devang Patel 2007-07-30 20:22:53 +00:00
parent bb97ac4dce
commit 698852561c
1 changed files with 2 additions and 0 deletions

View File

@ -62,6 +62,8 @@ namespace {
AU.addPreserved<LoopInfo>(); AU.addPreserved<LoopInfo>();
AU.addRequiredID(LoopSimplifyID); AU.addRequiredID(LoopSimplifyID);
AU.addPreservedID(LoopSimplifyID); AU.addPreservedID(LoopSimplifyID);
AU.addPreserved<DominatorTree>();
AU.addPreserved<DominanceFrontier>();
} }
// Helper functions // Helper functions