[PATCH] D52291: AMDGPU: Future-proof {raw, struct}.buffer.atomic intrinsics

Nicolai Hähnle via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 20 02:28:16 PDT 2018


nhaehnle created this revision.
nhaehnle added a reviewer: tpr.
Herald added subscribers: jfb, t-tye, dstuttard, yaxunl, wdng, jvesely, kzhuravl.

The ISA is really supposed to support 64-bit atomics as well,
so the data type should be an overload.

Mesa doesn't use these atomics yet, in fact I noticed this
issue while trying to use the atomics from Mesa.

Change-Id: I77f58317a085a0d3eb933cc7e99308c48a19f83e


Repository:
  rL LLVM

https://reviews.llvm.org/D52291

Files:
  include/llvm/IR/IntrinsicsAMDGPU.td
  test/CodeGen/AMDGPU/llvm.amdgcn.raw.buffer.atomic.ll
  test/CodeGen/AMDGPU/llvm.amdgcn.struct.buffer.atomic.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D52291.166247.patch
Type: text/x-patch
Size: 19552 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180920/a883ba72/attachment.bin>


More information about the llvm-commits mailing list