[llvm] [CodeGen] Pass alignment and size to supportsUnalignedAtomics. NFC (PR #216621)

Harrison Hao via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 1 06:57:09 PDT 2026


harrisonGPU wrote:

> I don't understand the motivation with the downstream context. You don't need new information for implementing elementwise atomics?

I need this additional information. As you can see in my next PR: https://github.com/llvm/llvm-project/pull/219906, the AMDGPU implementation also requires the element size and address space.

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


More information about the llvm-commits mailing list