[PATCH] D131560: AMDGPU: Improve atomicrmw fadd selection

Petar Avramovic via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 23 07:36:01 PDT 2022


Petar.Avramovic updated this revision to Diff 462481.
Petar.Avramovic added a comment.

Use hasFlatAtomicFaddF32Inst feature check.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D131560/new/

https://reviews.llvm.org/D131560

Files:
  llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
  llvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
  llvm/lib/Target/AMDGPU/SIISelLowering.cpp
  llvm/test/CodeGen/AMDGPU/GlobalISel/flat-atomic-fadd.f32.ll
  llvm/test/CodeGen/AMDGPU/GlobalISel/fp-atomics-gfx940.ll
  llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.global.atomic.fadd-with-ret.ll
  llvm/test/CodeGen/AMDGPU/flat-atomic-fadd.f32.ll
  llvm/test/CodeGen/AMDGPU/fp-atomics-gfx940.ll
  llvm/test/CodeGen/AMDGPU/global-atomics-fp.ll
  llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-rmw-fadd.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D131560.462481.patch
Type: text/x-patch
Size: 57255 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220923/18b367de/attachment-0001.bin>


More information about the llvm-commits mailing list