Resubmit r303859 with test fixed.
authorKonstantin Zhuravlyov <kzhuravl_dev@outlook.com>
Fri, 26 May 2017 20:38:26 +0000 (20:38 +0000)
committerKonstantin Zhuravlyov <kzhuravl_dev@outlook.com>
Fri, 26 May 2017 20:38:26 +0000 (20:38 +0000)
commitb2ff8dfea0664584630cc940793992235d7d8537
tree2f5fad7d7dcb8131c35d9140ce63a9ba7dfb863a
parent5097a1184b8c09a00972c7783d87efab5faec3d3
Resubmit r303859 with test fixed.

[AMDGPU] add intrinsic for s_getpc

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

Patch by Tim Corringham

llvm-svn: 304031
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]