[PATCH] D148239: [AMDGPU] Allow use of TTMP registers in AMDGPUResourceUsageAnalysis
Jay Foad via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 13 08:20:45 PDT 2023
foad created this revision.
foad added reviewers: AMDGPU, cdevadas.
Herald added subscribers: kosarev, StephenFan, kerbowa, hiraditya, tpr, dstuttard, yaxunl, jvesely, kzhuravl, arsenm.
Herald added a project: All.
foad requested review of this revision.
Herald added subscribers: llvm-commits, wdng.
Herald added a project: LLVM.
With architected SGPRs, workgroup IDs are passed into a compute shader
in TTMP registers. Allow for this in AMDGPUResourceUsageAnalysis instead
of failing an assertion.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D148239
Files:
llvm/lib/Target/AMDGPU/AMDGPUResourceUsageAnalysis.cpp
llvm/test/CodeGen/AMDGPU/lower-work-group-id-intrinsics.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D148239.513248.patch
Type: text/x-patch
Size: 5907 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230413/282df886/attachment.bin>
More information about the llvm-commits
mailing list