[llvm] [AMDGPU] Add buffer.fat.ptr.load.lds intrinsic wrapping raw rsrc version (PR #133015)
Krzysztof Drewniak via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 28 08:23:13 PDT 2025
================
@@ -1939,6 +1939,27 @@ def int_amdgcn_s_buffer_prefetch_data : DefaultAttrsIntrinsic <
} // defset AMDGPUBufferIntrinsics
+// A wrapper around raw_ptr_buffer_load_lds that takes the global offset
+// from the addrspace(7) pointer argument.
+def int_amdgcn_buffer_fat_ptr_load_lds : Intrinsic <
----------------
krzysz00 wrote:
This is for `ptr addrspace(7)`, the "buffer fat pointer", which carries the offset in the pointer type
It's a wrapper around raw_ptr_buffer_load_lds
https://github.com/llvm/llvm-project/pull/133015
More information about the llvm-commits
mailing list