[llvm-branch-commits] [llvm] [AMDGPU] Update target helpers & GCNSchedStrategy for dynamic VGPRs (PR #130047)
Austin Kerbow via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Thu Mar 6 08:15:35 PST 2025
================
@@ -1452,6 +1452,16 @@ bool GCNSchedStage::shouldRevertScheduling(unsigned WavesAfter) {
if (WavesAfter < DAG.MinOccupancy)
return true;
+ // For dynamic VGPR mode, we don't want to waste any VGPR blocks.
+ if (ST.isDynamicVGPREnabled()) {
----------------
kerbowa wrote:
Should VGPR critical/excess limits also be updated to reflect that you never want to allocate a new block? In this case it will be treated as if it's as bad as spilling.
https://github.com/llvm/llvm-project/pull/130047
More information about the llvm-branch-commits
mailing list