]> granicus.if.org Git - clang/commit
[AMDGPU] add __builtin_amdgcn_s_getpc
authorTim Corringham <tcorring@amd.com>
Thu, 25 May 2017 14:16:11 +0000 (14:16 +0000)
committerTim Corringham <tcorring@amd.com>
Thu, 25 May 2017 14:16:11 +0000 (14:16 +0000)
commit40ed16ee38828a60d1eb11122170d8ac8611422c
treea1cbc470d44d4cfe7a329e7ed2bad5d622961ae3
parent0197dcf96be49c6facaca1142c85699bcd445b51
[AMDGPU] add __builtin_amdgcn_s_getpc

Summary: Added the builtin corresponding to the s_getpc intrinsic added in llvm D32862

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

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@303861 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/BuiltinsAMDGPU.def
test/CodeGenOpenCL/builtins-amdgcn.cl