[all-commits] [llvm/llvm-project] f39398: [MISched] Add templates for creating custom schedu...

Pengcheng Wang via All-commits all-commits at lists.llvm.org
Mon Jun 2 20:38:01 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f393986b53b108457529213c1559346fdb8120ae
      https://github.com/llvm/llvm-project/commit/f393986b53b108457529213c1559346fdb8120ae
  Author: Pengcheng Wang <wangpengcheng.pp at bytedance.com>
  Date:   2025-06-03 (Tue, 03 Jun 2025)

  Changed paths:
    M llvm/include/llvm/CodeGen/MachineScheduler.h
    M llvm/lib/CodeGen/MachineScheduler.cpp
    M llvm/lib/Target/AArch64/AArch64TargetMachine.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
    M llvm/lib/Target/ARM/ARMTargetMachine.cpp
    M llvm/lib/Target/PowerPC/PPCTargetMachine.cpp
    M llvm/lib/Target/RISCV/RISCVTargetMachine.cpp
    M llvm/lib/Target/SystemZ/SystemZTargetMachine.cpp
    M llvm/lib/Target/X86/X86TargetMachine.cpp

  Log Message:
  -----------
  [MISched] Add templates for creating custom schedulers (#141935)

We rename `createGenericSchedLive` and `createGenericSchedPostRA`
to `createSchedLive` and `createSchedPostRA`, and add a template
parameter `Strategy` which is the generic implementation by default.

This can simplify some code for targets that have custom scheduler
strategy.



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