[all-commits] [llvm/llvm-project] d982be: [AMDGPU] Limit register pressure of pipelined loops
hjagasiaAMD via All-commits
all-commits at lists.llvm.org
Wed Jul 29 14:34:04 PDT 2026
Branch: refs/heads/users/hjagasiaAMD/swp-4-rp-limit
Home: https://github.com/llvm/llvm-project
Commit: d982be9a856be3bf508554d0684639b09ae3d2c4
https://github.com/llvm/llvm-project/commit/d982be9a856be3bf508554d0684639b09ae3d2c4
Author: Harsha Jagasia <harsha.jagasia at amd.com>
Date: 2026-07-29 (Wed, 29 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