Exhaustively test all triples in TripleTest.

Iteration over all permutations didn't really work,
due to evolution of the underlying enums.

Differential Revision: http://reviews.llvm.org/D9057

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@236251 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Douglas Katzman
2015-04-30 20:08:44 +00:00
parent 2a18cece0d
commit e52ba69038
2 changed files with 11 additions and 7 deletions

View File

@@ -82,7 +82,8 @@ public:
hsail64, // AMD HSAIL with 64-bit pointers
spir, // SPIR: standard portable IR for OpenCL 32-bit version
spir64, // SPIR: standard portable IR for OpenCL 64-bit version
kalimba // Kalimba: generic kalimba
kalimba, // Kalimba: generic kalimba
LastArchType = kalimba
};
enum SubArchType {
NoSubArch,
@@ -118,7 +119,8 @@ public:
ImaginationTechnologies,
MipsTechnologies,
NVIDIA,
CSR
CSR,
LastVendorType = CSR
};
enum OSType {
UnknownOS,
@@ -146,7 +148,8 @@ public:
CUDA, // NVIDIA CUDA
NVCL, // NVIDIA OpenCL
AMDHSA, // AMD HSA Runtime
PS4
PS4,
LastOSType = PS4
};
enum EnvironmentType {
UnknownEnvironment,
@@ -163,6 +166,7 @@ public:
MSVC,
Itanium,
Cygnus,
LastEnvironmentType = Cygnus
};
enum ObjectFormatType {
UnknownObjectFormat,