[clang] [llvm] [Clang][AMDGPU] Expose buffer load lds as a clang builtin (PR #132048)

Shilei Tian via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 19 12:02:31 PDT 2025


================
@@ -162,6 +162,8 @@ 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")
 
+BUILTIN(__builtin_amdgcn_raw_ptr_buffer_load_lds, "vQbv*3IUiiiIiIi", "t")
----------------
shiltian wrote:

We definitely need a feature as well as negative tests.

https://github.com/llvm/llvm-project/pull/132048


More information about the llvm-commits mailing list