]> granicus.if.org Git - clang/commit
[AMDGPU] Remove use of OpenCL triple environment and replace with function attribute...
authorTony Tye <Tony.Tye@amd.com>
Fri, 23 Mar 2018 18:43:15 +0000 (18:43 +0000)
committerTony Tye <Tony.Tye@amd.com>
Fri, 23 Mar 2018 18:43:15 +0000 (18:43 +0000)
commitb62adeec776faee5259fc8830807e0977bca0827
treec3f23a482b29bdbd58b6fd182a7300afeb24edc7
parente403c97d4e76caa48b2966be37c681a373eb5a5b
[AMDGPU] Remove use of OpenCL triple environment and replace with function attribute for AMDGPU (CLANG)

- Remove use of the opencl and amdopencl environment member of the target triple for the AMDGPU target.
- Use a function attribute to communicate to the AMDGPU backend.

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@328347 91177308-0d34-0410-b5e6-96231b3b80d8
docs/UsersManual.rst
lib/CodeGen/TargetInfo.cpp
test/CodeGenOpenCL/amdgpu-attrs.cl