Displaying 1 result from an estimated 1 matches for "int_amdgcn_workitem_id".
2020 Apr 13
3
Are AMDGPU intrinsics available in LLVM IR ?
...sics defined to access the workitem index (thread index),
but this file lives in 'llvm/include':
//===----------------------------------------------------------------------===//
// ABI Special Intrinsics
//===----------------------------------------------------------------------===//
defm int_amdgcn_workitem_id : AMDGPUReadPreloadRegisterIntrinsic_xyz;
defm int_amdgcn_workgroup_id : AMDGPUReadPreloadRegisterIntrinsic_xyz_named
<"__builtin_amdgcn_workgroup_id">;
There is no new definition of any intrinsics within the target
AMDGPU. I was working before with the NVPTX backend and that targe...