[all-commits] [llvm/llvm-project] 726f8b: [AMDGPU] Limit register pressure of pipelined loops

hjagasiaAMD via All-commits all-commits at lists.llvm.org
Tue Jul 28 09:45:16 PDT 2026


  Branch: refs/heads/users/hjagasiaAMD/swp-4-rp-limit
  Home:   https://github.com/llvm/llvm-project
  Commit: 726f8bc2202e1bdc62241b3a8cdb4db833ec84d6
      https://github.com/llvm/llvm-project/commit/726f8bc2202e1bdc62241b3a8cdb4db833ec84d6
  Author: Harsha Jagasia <harsha.jagasia at amd.com>
  Date:   2026-07-28 (Tue, 28 Jul 2026)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
    A llvm/test/CodeGen/AMDGPU/swp-amdgpu-pipeline-regpressure-retry.mir

  Log Message:
  -----------
  [AMDGPU] Limit register pressure of pipelined loops

Opt AMDGPU into the generic MachinePipeliner register-pressure detector via
shouldLimitRegPressure(), and supply an occupancy-aware verdict in
isScheduleRegPressureTooHigh(): reject a schedule whose SGPR or VGPR/AGPR
pressure would drop the kernel below its target occupancy, or exceed a
register class's addressability cap. On gfx90a+ VGPRs and AGPRs share one
register file, so their combined footprint is bounded together. These match
the limits GCNSchedStrategy enforces.



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