[clang] [llvm] [clang][amdgpu] Add builtins for raw/struct buffer lds load (PR #137678)
Krzysztof Drewniak via cfe-commits
cfe-commits at lists.llvm.org
Tue Apr 29 09:08:29 PDT 2025
================
@@ -163,7 +163,10 @@ BUILTIN(__builtin_amdgcn_raw_buffer_load_b64, "V2UiQbiiIi", "n")
BUILTIN(__builtin_amdgcn_raw_buffer_load_b96, "V3UiQbiiIi", "n")
BUILTIN(__builtin_amdgcn_raw_buffer_load_b128, "V4UiQbiiIi", "n")
+TARGET_BUILTIN(__builtin_amdgcn_raw_buffer_load_lds, "vV4Uiv*3IUiiiIiIi", "t", "vmem-to-lds-load-insts")
----------------
krzysz00 wrote:
... I think we need to go update a document saying the v4i32 forms of the buffer intrinsics are deprecated in favor of the `ptr addrspace(8)` forms
... and then go fix LLPC
https://github.com/llvm/llvm-project/pull/137678
More information about the cfe-commits
mailing list