[all-commits] [llvm/llvm-project] 9bfb4b: [MachineScheduler] Add more debug prints w.r.t haz...

Min-Yih Hsu via All-commits all-commits at lists.llvm.org
Tue Apr 8 10:31:26 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9bfb4b8fb194c1df5b082888abc03d095e39b6e9
      https://github.com/llvm/llvm-project/commit/9bfb4b8fb194c1df5b082888abc03d095e39b6e9
  Author: Min-Yih Hsu <min.hsu at sifive.com>
  Date:   2025-04-08 (Tue, 08 Apr 2025)

  Changed paths:
    M llvm/lib/CodeGen/MachineScheduler.cpp
    M llvm/test/CodeGen/AArch64/misched-detail-resource-booking-01.mir
    M llvm/test/CodeGen/AArch64/misched-detail-resource-booking-02.mir

  Log Message:
  -----------
  [MachineScheduler] Add more debug prints w.r.t hazards and pending SUnits (#134328)

While we already have some detailed debug messages on the candidate
selection process -- which selects a SUnit from the Available queue, we
didn't say much about why a SUnit was _not_ moved from Pending queue to
Available queue in the first place, which is just as important as why we
scheduled a node IMHO. Therefore, I added some debug prints for this
very purpose.

I decide to print these extra messages by default (instead of being
guarded by command line like `-misched-detail-resource-booking`) because
we have been printing some of the hazard remarks, so I thought we might
as well print these new messages -- which are mostly about hazard -- by
default.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list