[llvm] [AMDGPU] Add llvm.amdgcn.s.prefetch.inst intrinsic (PR #192440)
Mirko BrkuĊĦanin via llvm-commits
llvm-commits at lists.llvm.org
Tue May 19 06:32:02 PDT 2026
================
@@ -3197,6 +3197,14 @@ def int_amdgcn_s_prefetch_data :
"", [SDNPMemOperand]
>;
+def int_amdgcn_s_prefetch_inst :
+ Intrinsic<[],
+ [llvm_anyptr_ty, // Pointer to instruction memory
+ llvm_i32_ty], // Length to prefetch 0-31 (1-32 chunks, units of 128 bytes)
+ [IntrInaccessibleMemOrArgMemOnly, IntrWillReturn, NoCapture<ArgIndex<0>>, IntrNoCallback, IntrNoFree],
----------------
mbrkusanin wrote:
fixed formatting
https://github.com/llvm/llvm-project/pull/192440
More information about the llvm-commits
mailing list