mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-05 01:31:05 +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:
parent
658f625d16
commit
7be06f9158
@ -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>();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user