[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)
commit249fc7bd2a08896598c0fd44634bf932353ea6d3
tree79b39914b264bfad2d25f52a0939587517368b41
parent4d852597f89eb7d309b4eef940ace10626b61629
[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

llvm-svn: 310399
llvm/include/llvm/IR/IntrinsicsAMDGPU.td
llvm/lib/Target/AMDGPU/VOP1Instructions.td
llvm/test/CodeGen/AMDGPU/llvm.amdgcn.update.dpp.ll [new file with mode: 0644]