[all-commits] [llvm/llvm-project] 2171f0: [AMDGPU] Extend WorkGroupID* codegen for compute s...
Christudasan Devadasan via All-commits
all-commits at lists.llvm.org
Tue Mar 7 18:22:16 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 2171f04c121ed27fe2705d3f116df052daeb40a5
https://github.com/llvm/llvm-project/commit/2171f04c121ed27fe2705d3f116df052daeb40a5
Author: Christudasan Devadasan <Christudasan.Devadasan at amd.com>
Date: 2023-03-08 (Wed, 08 Mar 2023)
Changed paths:
M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
M llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.cpp
A llvm/test/CodeGen/AMDGPU/lower-work-group-id-intrinsics.ll
Log Message:
-----------
[AMDGPU] Extend WorkGroupID* codegen for compute shaders
Currently, the codegen support for llvm.amdgcn.workgroup.id*
intrinsics are enabled only for compute kernels. In addition,
this patch enables their selection for compute shaders on
subtargets that have architected SGPRs.
Differential Revision: https://reviews.llvm.org/D145045
More information about the All-commits
mailing list