[PATCH] D18375: AMDGPU: Add atomic_inc + atomic_dec intrinsics
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 22 18:27:51 PDT 2016
arsenm added inline comments.
Comment at: include/llvm/IR/IntrinsicsAMDGPU.td:154
@@ -153,1 +153,3 @@
+// TODO: Do we want an ordering for these?
+def int_amdgcn_atomic_inc : Intrinsic<[llvm_anyint_ty],
> Yes, I think we need an ordering for these.
I'm not sure how to do that because you can't just add one of the flags atomicrmw uses
More information about the llvm-commits