summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGuy Benyei <guy.benyei@intel.com>2012-11-15 10:35:47 +0000
committerGuy Benyei <guy.benyei@intel.com>2012-11-15 10:35:47 +0000
commitac39a035351a20928e087617e412aa6ce510181f (patch)
tree049bd0dd1d2a9316e4815c9c7c4baa269a48a728 /include
parent7ecfcc163956a9e27845ac217f6c650658631030 (diff)
downloadllvm-ac39a035351a20928e087617e412aa6ce510181f.tar.gz
llvm-ac39a035351a20928e087617e412aa6ce510181f.tar.bz2
llvm-ac39a035351a20928e087617e412aa6ce510181f.tar.xz
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')
-rw-r--r--include/llvm/ADT/Triple.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm/ADT/Triple.h b/include/llvm/ADT/Triple.h
index c3a2b19d51..a9e67cafba 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,