[PATCH] D143603: [AMDGPU] Do not exapnd fp atomics on gfx940

Stanislav Mekhanoshin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 8 13:10:07 PST 2023


rampitec created this revision.
rampitec added reviewers: Petar.Avramovic, arsenm, b-sumner.
Herald added subscribers: kosarev, foad, kerbowa, hiraditya, tpr, dstuttard, yaxunl, jvesely, kzhuravl.
Herald added a project: All.
rampitec requested review of this revision.
Herald added a subscriber: wdng.
Herald added a project: LLVM.

FP atomics are safe on gfx940. This fixes regression after D131560 <https://reviews.llvm.org/D131560>.

Fixes: SWDEV-380468


https://reviews.llvm.org/D143603

Files:
  llvm/lib/Target/AMDGPU/SIISelLowering.cpp
  llvm/test/CodeGen/AMDGPU/GlobalISel/fp-atomics-gfx940.ll
  llvm/test/CodeGen/AMDGPU/atomicrmw-expand.ll
  llvm/test/CodeGen/AMDGPU/fp-atomics-gfx940.ll
  llvm/test/CodeGen/AMDGPU/fp64-atomics-gfx90a.ll
  llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-rmw-fadd-flat-specialization.ll
  llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-rmw-fadd.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D143603.495930.patch
Type: text/x-patch
Size: 39010 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230208/e0b452ce/attachment.bin>


More information about the llvm-commits mailing list