]> granicus.if.org Git - clang/commit
AMDGPU: add __builtin_amdgcn_update_dpp
authorYaxun Liu <Yaxun.Liu@amd.com>
Wed, 17 Oct 2018 02:32:26 +0000 (02:32 +0000)
committerYaxun Liu <Yaxun.Liu@amd.com>
Wed, 17 Oct 2018 02:32:26 +0000 (02:32 +0000)
commitf6fcf841ff6ef4eca98ab56e1aee7b98e7175503
tree52763e37ef7862061ffa4593c1aa60c07207458b
parent431962bcfd94e537b3076412c868a7921e58397c
AMDGPU: add __builtin_amdgcn_update_dpp

Emit llvm.amdgcn.update.dpp for both __builtin_amdgcn_mov_dpp and
__builtin_amdgcn_update_dpp. The first argument to
llvm.amdgcn.update.dpp will be undef for __builtin_amdgcn_mov_dpp.

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@344665 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/BuiltinsAMDGPU.def
lib/CodeGen/CGBuiltin.cpp
test/CodeGenOpenCL/builtins-amdgcn-vi.cl
test/SemaOpenCL/builtins-amdgcn-error.cl