[AMDGPU] add intrinsic for s_getpc
authorTim Corringham <tcorring@amd.com>
Thu, 25 May 2017 14:04:14 +0000 (14:04 +0000)
committerTim Corringham <tcorring@amd.com>
Thu, 25 May 2017 14:04:14 +0000 (14:04 +0000)
commit32d0d3867949e1c0c00e76f440a2b67f8b09c7b0
tree92bab1a295f4891a6d3c659d64a3c89defe85788
parent7bf27f03f2cbd97bfff141efb34c6dc0db693f2f
[AMDGPU] add intrinsic for s_getpc

Summary: The s_getpc instruction is exposed as intrinsic llvm.amdgcn.s.getpc.

Reviewers: arsenm

Reviewed By: arsenm

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

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

llvm-svn: 303859
llvm/include/llvm/IR/IntrinsicsAMDGPU.td
llvm/lib/Target/AMDGPU/SOPInstructions.td
llvm/test/CodeGen/AMDGPU/llvm.amdgcn.s.getpc.ll [new file with mode: 0644]