[PATCH] D143707: [AMDGPU] Allow architected SGPRs for workgroup IDs
Christudasan Devadasan via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 10 00:56:38 PST 2023
cdevadas created this revision.
cdevadas added reviewers: rampitec, foad.
Herald added subscribers: kosarev, StephenFan, kerbowa, hiraditya, tpr, dstuttard, yaxunl, jvesely, kzhuravl, arsenm.
Herald added a project: All.
cdevadas requested review of this revision.
Herald added subscribers: llvm-commits, wdng.
Herald added a project: LLVM.
Some subtargets use architected SGPRs for workgroup
IDs instead of the regular SGPRs. This patch enables
the support for the same and is guarded under the
subtarget feature FeatureArchitectedSGPRs.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D143707
Files:
llvm/lib/Target/AMDGPU/SIISelLowering.cpp
llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.h
llvm/test/CodeGen/AMDGPU/workgroup-id-in-arch-sgprs.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D143707.496362.patch
Type: text/x-patch
Size: 8399 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230210/86355901/attachment.bin>
More information about the llvm-commits
mailing list