diff options
author | Austin Kerbow <Austin.Kerbow@amd.com> | 2024-09-23 13:48:22 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-23 13:48:22 -0700 |
commit | 954ab83e6a8acb7a78936cfa3e2284b1eaf8b722 (patch) | |
tree | 952587a7f68e791ec567ba5ab1c4fb82fb275385 /llvm/lib/Transforms/Utils/InlineFunction.cpp | |
parent | 74405b9d74d974523c0f9172a9b0c1cfd7320356 (diff) | |
download | llvm-954ab83e6a8acb7a78936cfa3e2284b1eaf8b722.zip llvm-954ab83e6a8acb7a78936cfa3e2284b1eaf8b722.tar.gz llvm-954ab83e6a8acb7a78936cfa3e2284b1eaf8b722.tar.bz2 |
[AMDGPU] Include unused preload kernarg in KD total SGPR count (#104743)
Unlike with implicitly preloaded data UserSGPRs firmware is unable to
handle cases where SGPRs for kernel arguments contain preloaded data but
not are not explicitly referenced in the kernel. We need to include
these preloaded SGPRs in the GRANULATED_WAVEFRONT_SGPR_COUNT calculation
to not clobber SGPRs in adjacent waves.
Diffstat (limited to 'llvm/lib/Transforms/Utils/InlineFunction.cpp')
0 files changed, 0 insertions, 0 deletions