[clang] [llvm] [SPIRV] GPU intrinsics (PR #131190)

Jon Chesterfield via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 17 05:27:00 PDT 2025


================
@@ -150,6 +150,8 @@ defm int_amdgcn_workitem_id : AMDGPUReadPreloadRegisterIntrinsic_xyz;
 defm int_amdgcn_workgroup_id : AMDGPUReadPreloadRegisterIntrinsic_xyz_named
                                <"__builtin_amdgcn_workgroup_id">;
 
+defm int_amdgcn_grid_size : AMDGPUReadPreloadRegisterIntrinsic_xyz;
----------------
JonChesterfield wrote:

It's not dead, but that's unimportant - the patch could be reworked to not include it and I'll do that in the spirit of increasing consensus

https://github.com/llvm/llvm-project/pull/131190


More information about the llvm-commits mailing list