These are different than atomicrmw add 1 because they have
an additional input value to clamp the result.
Details
Details
- Reviewers
• tstellarAMD
Diff Detail
Diff Detail
Paths
| Differential D18375
AMDGPU: Add atomic_inc + atomic_dec intrinsics ClosedPublic Authored by arsenm on Mar 22 2016, 1:39 PM.
Details
Summary These are different than atomicrmw add 1 because they have
Diff Detail Event Timelinearsenm updated this object.
This revision is now accepted and ready to land.Mar 30 2016, 3:00 PM
Revision Contents
Diff 51422 include/llvm/IR/IntrinsicsAMDGPU.td
lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
lib/Target/AMDGPU/AMDGPUISelLowering.h
lib/Target/AMDGPU/AMDGPUISelLowering.cpp
lib/Target/AMDGPU/CIInstructions.td
lib/Target/AMDGPU/SIISelLowering.h
lib/Target/AMDGPU/SIISelLowering.cpp
lib/Target/AMDGPU/SIInstrInfo.td
lib/Target/AMDGPU/SIInstructions.td
test/CodeGen/AMDGPU/llvm.amdgcn.atomic.dec.ll
test/CodeGen/AMDGPU/llvm.amdgcn.atomic.inc.ll
test/CodeGen/AMDGPU/local-atomics.ll
|
Yes, I think we need an ordering for these.