]> granicus.if.org Git - llvm/commit
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)
commit071c0d91bb9e3b0dfea135820779a4185574183c
tree1d41a7631bf7c233edf7cb443ea53634a686e84c
parenta0f27f968ed5c4c88ac541f70aa2583c510675a0
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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@304031 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]