[llvm] [AMDGPU] Add support for preloading hidden groupsize args (PR #83817)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 4 02:50:14 PST 2024


================
@@ -138,10 +138,14 @@ let TargetPrefix = "amdgcn" in {
 // ABI Special Intrinsics
 //===----------------------------------------------------------------------===//
 
-defm int_amdgcn_workitem_id : AMDGPUReadPreloadRegisterIntrinsic_xyz;
+defm int_amdgcn_workitem_id : AMDGPUReadPreloadRegisterIntrinsic_xyz<llvm_i32_ty>;
 defm int_amdgcn_workgroup_id : AMDGPUReadPreloadRegisterIntrinsic_xyz_named
                                <"__builtin_amdgcn_workgroup_id">;
 
+// Intened to be used when preloading implicit kernel arguments.
----------------
arsenm wrote:

Typo Intened

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


More information about the llvm-commits mailing list