[PATCH] D117678: AMDGPU/GlobalISel: Fix selection of gfx90a FP atomics

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 19 06:51:20 PST 2022


arsenm created this revision.
arsenm added reviewers: rampitec, foad, Petar.Avramovic, mbrkusanin.
Herald added subscribers: kerbowa, hiraditya, t-tye, tpr, dstuttard, rovka, yaxunl, nhaehnle, jvesely, kzhuravl.
arsenm requested review of this revision.
Herald added a subscriber: wdng.
Herald added a project: LLVM.

The struct/raw forms for the buffer atomics now work as
expected. However, we're incorrectly handling the legacy form (which
we probably shouldn't handle at all). We also are not diagnosing the
use of the return value on gfx908. These will be addressed separately.


https://reviews.llvm.org/D117678

Files:
  llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
  llvm/lib/Target/AMDGPU/FLATInstructions.td
  llvm/test/CodeGen/AMDGPU/GlobalISel/fp64-atomics-gfx90a.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D117678.401221.patch
Type: text/x-patch
Size: 24777 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220119/d2b3af14/attachment.bin>


More information about the llvm-commits mailing list