arsenm wrote:

> Is it legal and defined behavior to target private memory with an atomic?

In the IR it would have to be, and this is the expected behavior in OpenMP and 
C++. It's UB in OpenCL, and UB in CUDA/HIP for old style atomics, but defined 
for new std::atomic style cases 


https://github.com/llvm/llvm-project/pull/109407
_______________________________________________
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to