[llvm-branch-commits] [llvm] [AMDGPU] Update target helpers & GCNSchedStrategy for dynamic VGPRs (PR #130047)

Diana Picus via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Fri Mar 7 15:56:12 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()) {
----------------
rovka wrote:

Probably, but that's a bigger change and I thought I'd like some real world performance numbers for that.

https://github.com/llvm/llvm-project/pull/130047


More information about the llvm-branch-commits mailing list