AMDGPU: add missing llvm.amdgcn.{raw,struct}.buffer.atomic.{inc,dec}
commita9e03d45db3efd8f39a3032dfd16aab3c21d9b8a
authorNicolai Haehnle <nhaehnle@gmail.com>
Mon, 5 Aug 2019 09:36:06 +0000 (5 09:36 +0000)
committerNicolai Haehnle <nhaehnle@gmail.com>
Mon, 5 Aug 2019 09:36:06 +0000 (5 09:36 +0000)
treec1a9a1e32de0bc88f1dee5a95f58f47ee9bc3909
parent61d2734e2d937641e31843162960cf06d64d668f
AMDGPU: add missing llvm.amdgcn.{raw,struct}.buffer.atomic.{inc,dec}

Summary:
Wrapping increment/decrement. These aren't exposed by many APIs...

Change-Id: I1df25c7889de5a5ba76468ad8e8a2597efa9af6c

Reviewers: arsenm, tpr, dstuttard

Subscribers: kzhuravl, jvesely, wdng, yaxunl, t-tye, jfb, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D65283

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@367821 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IR/IntrinsicsAMDGPU.td
lib/Target/AMDGPU/AMDGPUISelLowering.cpp
lib/Target/AMDGPU/AMDGPUISelLowering.h
lib/Target/AMDGPU/AMDGPUSearchableTables.td
lib/Target/AMDGPU/BUFInstructions.td
lib/Target/AMDGPU/SIISelLowering.cpp
lib/Target/AMDGPU/SIInstrInfo.td
test/CodeGen/AMDGPU/llvm.amdgcn.raw.buffer.atomic.ll
test/CodeGen/AMDGPU/llvm.amdgcn.struct.buffer.atomic.ll