AMDGPU: global_atomic_csub is not always dereferenceable
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Wed, 22 Jul 2020 00:53:57 +0000 (20:53 -0400)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Mon, 27 Jul 2020 22:47:39 +0000 (18:47 -0400)
llvm/lib/Target/AMDGPU/SIISelLowering.cpp

index fa2a96d..c92065f 100644 (file)
@@ -1137,7 +1137,6 @@ bool SITargetLowering::getTgtMemIntrinsic(IntrinsicInfo &Info,
     Info.align.reset();
     Info.flags = MachineMemOperand::MOLoad |
                  MachineMemOperand::MOStore |
-                 MachineMemOperand::MODereferenceable |
                  MachineMemOperand::MOVolatile;
     return true;
   }