[clang] [Clang] Mark scoped_atomics with !noalias.addrspace(private) (PR #230044)

Matt Arsenault via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 8 23:49:37 PDT 2026


https://github.com/arsenm commented:

I think this is OK for the __opencl_* builtins, but I do not think it is appropriate to make the behavior of these builtins modal. CUDA does provide atomic functions which do not have the undefined behavior in the private case, which you ideally would be implemented with these builtins 

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


More information about the cfe-commits mailing list