[PATCH] D108208: [AMDGPU] Fix atomic float max/min intrinsics

Joe Nash via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 17 08:12:27 PDT 2021


Joe_Nash created this revision.
Joe_Nash added reviewers: dstuttard, critson, rampitec, arsenm.
Herald added subscribers: foad, kerbowa, jfb, hiraditya, t-tye, tpr, yaxunl, nhaehnle, jvesely, kzhuravl.
Joe_Nash requested review of this revision.
Herald added subscribers: llvm-commits, wdng.
Herald added a project: LLVM.

Hooked up raw.buffer.atomic.fmin/max.f64
This instruction should be available on GFX6, GFX7, and GFX10.
It was implemented for GFX90a with a different name.

Added intrinsic def for image_atomic_fmin/fmax; the instruction
defs were already there.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D108208

Files:
  llvm/include/llvm/IR/IntrinsicsAMDGPU.td
  llvm/lib/Target/AMDGPU/BUFInstructions.td
  llvm/test/CodeGen/AMDGPU/fp-min-max-atomics.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D108208.366905.patch
Type: text/x-patch
Size: 34380 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210817/785849f7/attachment.bin>


More information about the llvm-commits mailing list