forked from OSchip/llvm-project
[MachineScheduler] Inform pass infra of post-ra scheduler's dependencies
Differential Revision: https://reviews.llvm.org/D91561
This commit is contained in:
parent
a200d6cdf0
commit
a461e76b6f
|
@ -240,8 +240,13 @@ char PostMachineScheduler::ID = 0;
|
|||
|
||||
char &llvm::PostMachineSchedulerID = PostMachineScheduler::ID;
|
||||
|
||||
INITIALIZE_PASS(PostMachineScheduler, "postmisched",
|
||||
"PostRA Machine Instruction Scheduler", false, false)
|
||||
INITIALIZE_PASS_BEGIN(PostMachineScheduler, "postmisched",
|
||||
"PostRA Machine Instruction Scheduler", false, false)
|
||||
INITIALIZE_PASS_DEPENDENCY(MachineDominatorTree)
|
||||
INITIALIZE_PASS_DEPENDENCY(MachineLoopInfo)
|
||||
INITIALIZE_PASS_DEPENDENCY(AAResultsWrapperPass)
|
||||
INITIALIZE_PASS_END(PostMachineScheduler, "postmisched",
|
||||
"PostRA Machine Instruction Scheduler", false, false)
|
||||
|
||||
PostMachineScheduler::PostMachineScheduler() : MachineSchedulerBase(ID) {
|
||||
initializePostMachineSchedulerPass(*PassRegistry::getPassRegistry());
|
||||
|
|
Loading…
Reference in New Issue