[llvm] [AMDGPU] Take into account amdgpu-waves-per-eu in getRegPressureLimit (PR #173992)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 29 14:54:12 PST 2026
Juan Manuel Martinez =?utf-8?q?CaamaƱo?Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/173992 at github.com>
arsenm wrote:
> The minimum occupancy computed by getOccupancyWithWorkGroupSizes
doesn't take into account that the user may have provided a
low-occupancy target through the amdgpu-waves-per-eu attribute.
I don't understand this part and I'm lost in the current state of occupancy functions. They both should be a range derived from amdgpu-waves-per-eu? Aren't these both basically the same thing? Is having both useful?
https://github.com/llvm/llvm-project/pull/173992
More information about the llvm-commits
mailing list