[clang] [llvm] [mlir] [AMDGPU] Add a new amdgcn.load.to.lds intrinsic (PR #137425)

Matt Arsenault via cfe-commits cfe-commits at lists.llvm.org
Thu May 1 08:54:14 PDT 2025


================
@@ -564,6 +564,11 @@ Value *CodeGenFunction::EmitAMDGPUBuiltinExpr(unsigned BuiltinID,
     llvm::Function *F = CGM.getIntrinsic(IID, {LoadTy});
     return Builder.CreateCall(F, {Addr});
   }
+  case AMDGPU::BI__builtin_amdgcn_load_to_lds: {
+    // Should this have asan instrumentation?
----------------
arsenm wrote:

Repeating comment from the PR that duplicated this one, yes but that's a backend problem?

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


More information about the cfe-commits mailing list