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

Nicolai Hähnle via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 22 09:42:48 PDT 2024


================
@@ -1235,6 +1238,21 @@ bool SITargetLowering::getTgtMemIntrinsic(IntrinsicInfo &Info,
                     MachineMemOperand::MOStore |
                     MachineMemOperand::MODereferenceable;
 
+      // XXX - Should this be volatile without known ordering?
+      Info.flags |= MachineMemOperand::MOVolatile;
----------------
nhaehnle wrote:

Probably shouldn't be volatile.

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


More information about the llvm-commits mailing list