OSDN Git Service

[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)
commitb88c01b1f75429e6d8e8c20f6de39f1b2573886b
treec08cc582cbe8a462110f0393ba026d9540d9f37d
parentf3cb5d6f7f2229ececada861eaf9c96b06cb53d2
[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

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