For some reason the flat/global atomics end up in the generated
matcher table in a different order from SelectionDAG. Use
AddedComplexity to prefer checking for global atomics first.
Details
Details
Diff Detail
Diff Detail
Paths
| Differential D73365
AMDGPU/GlobalISel: Fix not using global atomics on gfx9+ ClosedPublic Authored by arsenm on Jan 24 2020, 9:02 AM.
Details
Diff Detail Event Timelinearsenm added a child revision: D73366: AMDGPU/GlobalISel: Select global MUBUF atomicrmw.Jan 24 2020, 9:12 AM This revision is now accepted and ready to land.Jan 24 2020, 11:00 AM
Revision Contents
Diff 240220 llvm/lib/Target/AMDGPU/FLATInstructions.td
llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-atomicrmw-add-global.mir
llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.atomic.inc.ll
|