diff options
author | Guy Benyei <guy.benyei@intel.com> | 2012-11-15 10:35:47 +0000 |
---|---|---|
committer | Guy Benyei <guy.benyei@intel.com> | 2012-11-15 10:35:47 +0000 |
commit | ac39a035351a20928e087617e412aa6ce510181f (patch) | |
tree | 049bd0dd1d2a9316e4815c9c7c4baa269a48a728 /include/llvm/ADT/Triple.h | |
parent | 7ecfcc163956a9e27845ac217f6c650658631030 (diff) | |
download | external_llvm-ac39a035351a20928e087617e412aa6ce510181f.zip external_llvm-ac39a035351a20928e087617e412aa6ce510181f.tar.gz external_llvm-ac39a035351a20928e087617e412aa6ce510181f.tar.bz2 |
Add support for SPIR64 target - the 64bit counterpart of SPIR.
The new OpenCL SPIR extension spec will define separate SPIR for 32 and 64 bit architectures.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168036 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/ADT/Triple.h')
-rw-r--r-- | include/llvm/ADT/Triple.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm/ADT/Triple.h b/include/llvm/ADT/Triple.h index c3a2b19..a9e67ca 100644 --- a/include/llvm/ADT/Triple.h +++ b/include/llvm/ADT/Triple.h @@ -65,7 +65,8 @@ public: nvptx64, // NVPTX: 64-bit le32, // le32: generic little-endian 32-bit CPU (PNaCl / Emscripten) amdil, // amdil: amd IL - spir // SPIR: standard portable IR for OpenCL + spir, // SPIR: standard portable IR for OpenCL 32-bit version + spir64 // SPIR: standard portable IR for OpenCL 64-bit version }; enum VendorType { UnknownVendor, |