[all-commits] [llvm/llvm-project] 03677f: [MachineScheduler] Optional scheduling of single-M...

Lucas Ramirez via All-commits all-commits at lists.llvm.org
Tue Mar 4 08:47:07 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 03677f63a7d3f8bfd50407b5fa2a86f8fbcc162f
      https://github.com/llvm/llvm-project/commit/03677f63a7d3f8bfd50407b5fa2a86f8fbcc162f
  Author: Lucas Ramirez <11032120+lucas-rami at users.noreply.github.com>
  Date:   2025-03-04 (Tue, 04 Mar 2025)

  Changed paths:
    M llvm/include/llvm/CodeGen/ScheduleDAGInstrs.h
    M llvm/lib/CodeGen/MachineScheduler.cpp
    M llvm/lib/Target/AMDGPU/GCNSchedStrategy.cpp
    M llvm/test/CodeGen/ARM/misched-branch-targets.mir
    M llvm/test/CodeGen/X86/fake-use-scheduler.mir

  Log Message:
  -----------
  [MachineScheduler] Optional scheduling of single-MI regions (#129704)

Following 15e295d the machine scheduler no longer filters-out single-MI
regions when emitting regions to schedule. While this has no functional
impact at the moment, it generally has a negative compile-time impact
(see #128739).

Since all targets but AMDGPU do not care for this behavior, this
introduces an off-by-default flag to `ScheduleDAGInstrs` to control
whether such regions are going to be scheduled, effectively reverting
15e295d for all targets but AMDGPU (currently the only target enabling
this flag).



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