[llvm] [AMDGPU] Add llvm.amdgcn.s.prefetch.inst intrinsic (PR #192440)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 16 07:15:46 PDT 2026


================
@@ -3195,6 +3195,14 @@ def int_amdgcn_s_prefetch_data :
     "", [SDNPMemOperand]
   >;
 
+def int_amdgcn_s_prefetch_inst :
+  Intrinsic<[],
+  [LLVMQualPointerType<4>, // Pointer to constant memory
----------------
arsenm wrote:

Given we never made the change to put programs into the constant address space, the normal usage would be a flat pointer?

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


More information about the llvm-commits mailing list