mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-31 09:25:42 +00:00
Request DominanceFrontiner in advance.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37954 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -63,6 +63,11 @@ namespace {
|
|||||||
AU.addRequiredID(LoopSimplifyID);
|
AU.addRequiredID(LoopSimplifyID);
|
||||||
AU.addPreservedID(LoopSimplifyID);
|
AU.addPreservedID(LoopSimplifyID);
|
||||||
AU.addPreserved<DominatorTree>();
|
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>();
|
AU.addPreserved<DominanceFrontier>();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user