[llvm] aa64a82 - [AMDGPU] Rename AMDGPULoadTr intrinsic class. NFC. (#79394)

via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 24 20:38:24 PST 2024


Author: Changpeng Fang
Date: 2024-01-24T20:38:20-08:00
New Revision: aa64a8277366973705b748e532bfae694b4262aa

URL: https://github.com/llvm/llvm-project/commit/aa64a8277366973705b748e532bfae694b4262aa
DIFF: https://github.com/llvm/llvm-project/commit/aa64a8277366973705b748e532bfae694b4262aa.diff

LOG: [AMDGPU] Rename AMDGPULoadTr intrinsic class. NFC. (#79394)

This class is not specific to "Tr"(Transpose). It is
just for a normal load.

Added: 
    

Modified: 
    llvm/include/llvm/IR/IntrinsicsAMDGPU.td

Removed: 
    


################################################################################
diff  --git a/llvm/include/llvm/IR/IntrinsicsAMDGPU.td b/llvm/include/llvm/IR/IntrinsicsAMDGPU.td
index 9eb1ac8e27befb..1fbaf569c32133 100644
--- a/llvm/include/llvm/IR/IntrinsicsAMDGPU.td
+++ b/llvm/include/llvm/IR/IntrinsicsAMDGPU.td
@@ -2755,7 +2755,7 @@ def int_amdgcn_global_atomic_fmax_num : AMDGPUAtomicRtn<llvm_anyfloat_ty>;
 
 def int_amdgcn_atomic_cond_sub_u32 : AMDGPUAtomicRtn<llvm_i32_ty>;
 
-class AMDGPULoadTr<LLVMType ptr_ty>:
+class AMDGPULoadIntrinsic<LLVMType ptr_ty>:
   Intrinsic<
     [llvm_any_ty],
     [ptr_ty],
@@ -2775,7 +2775,7 @@ class AMDGPULoadTr<LLVMType ptr_ty>:
 // <4 x half>   @llvm.amdgcn.global.load.tr.v4f16(ptr addrspace(1))  -> global_load_tr_b128
 // <4 x bfloat> @llvm.amdgcn.global.load.tr.v4bf16(ptr addrspace(1)) -> global_load_tr_b128
 
-def int_amdgcn_global_load_tr : AMDGPULoadTr<global_ptr_ty>;
+def int_amdgcn_global_load_tr : AMDGPULoadIntrinsic<global_ptr_ty>;
 
 //===----------------------------------------------------------------------===//
 // Deep learning intrinsics.


        


More information about the llvm-commits mailing list