OSDN Git Service

[AMDGPU] Add llvm.amdgpu.update.dpp intrinsic
authorConnor Abbott <cwabbott0@gmail.com>
Tue, 8 Aug 2017 18:52:22 +0000 (18:52 +0000)
committerConnor Abbott <cwabbott0@gmail.com>
Tue, 8 Aug 2017 18:52:22 +0000 (18:52 +0000)
commit8e92b2817eaf9d068f5ef86584b6043f6a1ea4a3
treec110ba9700ad8517c66834b83cac677b282b8a6e
parent02ffffd20903a3ed907a1911a5b0cb1b9b82d238
[AMDGPU] Add llvm.amdgpu.update.dpp intrinsic

Summary:
Now that we've made all the necessary backend changes, we can add a new
intrinsic which exposes the new capabilities to IR producers. Since
llvm.amdgpu.update.dpp is a strict superset of llvm.amdgpu.mov.dpp, we
should deprecate the former. We also add tests for all the functionality
that was added in previous changes, now that we can access it via an IR
construct.

Reviewers: tstellar, arsenm

Subscribers: kzhuravl, wdng, nhaehnle, yaxunl, dstuttard, tpr, t-tye

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@310399 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IR/IntrinsicsAMDGPU.td
lib/Target/AMDGPU/VOP1Instructions.td
test/CodeGen/AMDGPU/llvm.amdgcn.update.dpp.ll [new file with mode: 0644]