[llvm] [AMDGPU] Document that only naturally aligned atomics of up to 64 bits are supported by the AMDGPU backend (PR #200167)

Fabian Ritter via llvm-commits llvm-commits at lists.llvm.org
Thu May 28 08:20:37 PDT 2026


================
@@ -7094,6 +7094,9 @@ The AMDGPU backend supports the following memory models:
     OpenCL memory. The target triple environment is used to determine if the
     source language is OpenCL (see :ref:`amdgpu-opencl`).
 
+The AMDGPU backend does not support atomic accesses with less than natural
----------------
ritter-x2a wrote:

It's the only one related to the memory model that I'm currently aware of.
I can see the value of an AMDGPUUsage section that aims to list all the restrictions of the backend; I think filling that would need to be a community effort among the AMDGPU backend developers.

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


More information about the llvm-commits mailing list