[PATCH] D87864: AMDGPU: Check global FP atomics match default FP mode

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 17 15:41:54 PDT 2020


arsenm created this revision.
arsenm added reviewers: rampitec, b-sumner, t-tye.
Herald added subscribers: kerbowa, jfb, hiraditya, tpr, dstuttard, yaxunl, nhaehnle, jvesely, kzhuravl.
Herald added a project: LLVM.
arsenm requested review of this revision.
Herald added a subscriber: wdng.

We would always select global FP atomics from atomicrmw fadd, although
they have a hardcoded FP mode.


https://reviews.llvm.org/D87864

Files:
  llvm/lib/Target/AMDGPU/SIISelLowering.cpp
  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: D87864.292644.patch
Type: text/x-patch
Size: 9713 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200917/0febdb6a/attachment.bin>


More information about the llvm-commits mailing list