The flat atomics could already be selected, but only
when using flat instructions for global memory. Add
patterns for flat addresses.
Details
Details
- Reviewers
• tstellarAMD
Diff Detail
Diff Detail
Paths
| Differential D20996
AMDGPU: Fix flat atomics ClosedPublic Authored by arsenm on Jun 3 2016, 10:51 PM.
Details
Summary The flat atomics could already be selected, but only
Diff Detail Event Timelinearsenm updated this object. This revision is now accepted and ready to land.Jun 9 2016, 1:13 PM
Revision Contents
Diff 59647 lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
lib/Target/AMDGPU/AMDGPUInstructions.td
lib/Target/AMDGPU/CIInstructions.td
lib/Target/AMDGPU/SIInstrInfo.td
test/CodeGen/AMDGPU/flat_atomics.ll
test/CodeGen/AMDGPU/flat_atomics_i64.ll
test/CodeGen/AMDGPU/llvm.amdgcn.atomic.dec.ll
test/CodeGen/AMDGPU/llvm.amdgcn.atomic.inc.ll
|