Add amdopencl environment to triple
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Thu, 30 Jul 2015 08:16:51 +0000 (08:16 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Thu, 30 Jul 2015 08:16:51 +0000 (08:16 +0000)
commitd8c145fd49e1d71271a65143283465f18a3b513a
tree80f7644181689f6cafbf9bb3f26b6585250eb9bf
parent77907c75553b579e774ad29cccf9882374fb6c70
Add amdopencl environment to triple

This is used by the AMD x86 OpenCL implementation
to change some ABI details on Windows and Linux.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@243627 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/ADT/Triple.h
lib/Support/Triple.cpp
unittests/ADT/TripleTest.cpp