HomePhabricator

[AMDGPU] Remove use of OpenCL triple environment and replace with function…

Authored by t-tye on Mar 23 2018, 11:43 AM.

Description

[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

llvm-svn: 328347