[llvm] [AMDGPU] Introduce orderign parameter to atomic intrinsics and introduce new llvm.amdgcn.image.atomic.load intrinsic. (PR #73613)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 28 01:02:00 PST 2023


https://github.com/arsenm commented:

The problem with doing this is generic passes that should really know this is an atomic operation do not know it. It sort of works for codegen, but it's also a different representation from a normal scope. In the past I've thought about introducing a call atomic flag to allow generically carrying the ordering and scope

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


More information about the llvm-commits mailing list