[all-commits] [llvm/llvm-project] e5dde7: [AMDGPU] Add initial cost function framework for b...
Austin Kerbow via All-commits
all-commits at lists.llvm.org
Wed Sep 24 09:54:15 PDT 2025
Branch: refs/heads/users/kerbowa/sched-cost-function
Home: https://github.com/llvm/llvm-project
Commit: e5dde744a34befe0f227140952958df03bebc5a7
https://github.com/llvm/llvm-project/commit/e5dde744a34befe0f227140952958df03bebc5a7
Author: Austin Kerbow <Austin.Kerbow at amd.com>
Date: 2025-09-24 (Wed, 24 Sep 2025)
Changed paths:
M llvm/lib/Target/AMDGPU/GCNSchedStrategy.cpp
M llvm/lib/Target/AMDGPU/GCNSchedStrategy.h
Log Message:
-----------
[AMDGPU] Add initial cost function framework for balanced scheduling
Introduce an initial cost function into the AMDGPU instruction scheduler
as the foundation for a more balanced scheduling framework. The goal is
to move beyond occupancy-as-a-hard-target by providing a configurable
mechanism to evaluate trade-offs between different candidate schedules.
Key features:
Schedule length term weighted by block frequency.
Weighted occupancy cost with concave penalty that rewards lower initial occupancy gains more than later ones.
Large additive penalty to strongly discourage schedules that increase spilling.
Configurable weights and knobs to support tuning.
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