Request DominanceFrontiner in advance.

llvm-svn: 37954
This commit is contained in:
Devang Patel 2007-07-06 21:43:22 +00:00
parent 3ee408264b
commit 86d0ea973d
1 changed files with 5 additions and 0 deletions

View File

@ -63,6 +63,11 @@ namespace {
AU.addRequiredID(LoopSimplifyID);
AU.addPreservedID(LoopSimplifyID);
AU.addPreserved<DominatorTree>();
// Request DominanceFrontier now, even though Loop Rotate does
// not use it. This allows Pass Manager to schedule Dominance
// Frontier early enough such that one LPPassManager can handle
// loop rotate as well as licm pass.
AU.addRequired<DominanceFrontier>();
AU.addPreserved<DominanceFrontier>();
}