[clang] [llvm] [mlir] [Sema] Fix bug in builtin AS override (PR #138141)

Krzysztof Drewniak via cfe-commits cfe-commits at lists.llvm.org
Thu May 1 07:45:03 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?
----------------
krzysz00 wrote:

(and this comment should be on #137425 )

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


More information about the cfe-commits mailing list