[PATCH] D37985: [AMDGPU] add LDS f32 intrinsics

Daniil Fukalov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 18 11:17:10 PDT 2017


dfukalov created this revision.
Herald added subscribers: t-tye, Anastasia, tpr, dstuttard, yaxunl, nhaehnle, wdng, kzhuravl, arsenm.

added llvm.amdgcn.ds.{add|min|max}[.rtn].f32 intrinsics
to allow generate ds_{add|min|max}[_rtn]_f32 instructions
needed for OpenCL float atomics in LDS


https://reviews.llvm.org/D37985

Files:
  include/llvm/IR/IntrinsicsAMDGPU.td
  lib/Target/AMDGPU/DSInstructions.td
  test/CodeGen/AMDGPU/llvm.amdgcn.ds.f32.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D37985.115685.patch
Type: text/x-patch
Size: 5094 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170918/a60e409e/attachment.bin>


More information about the llvm-commits mailing list