[llvm] [CodeGen][MISched] Add misched post-regalloc bidirectional scheduling (PR #77138)

Wang Pengcheng via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 18 23:48:42 PDT 2024


================
@@ -497,11 +501,13 @@ bool PostMachineScheduler::runOnMachineFunction(MachineFunction &mf) {
   // Instantiate the selected scheduler for this target, function, and
   // optimization level.
   std::unique_ptr<ScheduleDAGInstrs> Scheduler(createPostMachineScheduler());
-  ScheduleDAGMI::DumpDirection D;
+  ScheduleDAGInstrs::DumpDirection D;
----------------
wangpc-pp wrote:

Why do we need to change `ScheduleDAGMI` to `ScheduleDAGInstrs`?

https://github.com/llvm/llvm-project/pull/77138


More information about the llvm-commits mailing list