Skip to content

Commit 67717f2

Browse files
committed
AMDGPU: Implement tensor load and store instructions for gfx1250
Minor format change.
1 parent dea8225 commit 67717f2

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

llvm/include/llvm/IR/IntrinsicsAMDGPU.td

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3606,10 +3606,14 @@ class AMDGPUTensorLoadStoreD2:
36063606
"", [SDNPMemOperand]
36073607
>;
36083608

3609-
def int_amdgcn_tensor_load_to_lds : ClangBuiltin<"__builtin_amdgcn_tensor_load_to_lds">, AMDGPUTensorLoadStore;
3610-
def int_amdgcn_tensor_store_from_lds : ClangBuiltin<"__builtin_amdgcn_tensor_store_from_lds">, AMDGPUTensorLoadStore;
3611-
def int_amdgcn_tensor_load_to_lds_d2 : ClangBuiltin<"__builtin_amdgcn_tensor_load_to_lds_d2">, AMDGPUTensorLoadStoreD2;
3612-
def int_amdgcn_tensor_store_from_lds_d2 : ClangBuiltin<"__builtin_amdgcn_tensor_store_from_lds_d2">, AMDGPUTensorLoadStoreD2;
3609+
def int_amdgcn_tensor_load_to_lds :
3610+
ClangBuiltin<"__builtin_amdgcn_tensor_load_to_lds">, AMDGPUTensorLoadStore;
3611+
def int_amdgcn_tensor_store_from_lds :
3612+
ClangBuiltin<"__builtin_amdgcn_tensor_store_from_lds">, AMDGPUTensorLoadStore;
3613+
def int_amdgcn_tensor_load_to_lds_d2 :
3614+
ClangBuiltin<"__builtin_amdgcn_tensor_load_to_lds_d2">, AMDGPUTensorLoadStoreD2;
3615+
def int_amdgcn_tensor_store_from_lds_d2 :
3616+
ClangBuiltin<"__builtin_amdgcn_tensor_store_from_lds_d2">, AMDGPUTensorLoadStoreD2;
36133617

36143618
/// Emit an addrspacecast without null pointer checking.
36153619
/// Should only be inserted by a pass based on analysis of an addrspacecast's src.

0 commit comments

Comments
 (0)