llvm.org GIT mirror llvm / d4a52d5
[AMDGPU] Remove unused AMDOpenCL triple environment Differential Revision: https://reviews.llvm.org/D43895 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@326745 91177308-0d34-0410-b5e6-96231b3b80d8 Tony Tye 2 years ago
3 changed file(s) with 0 addition(s) and 6 deletion(s). Raw diff Collapse all Expand all
201201 MSVC,
202202 Itanium,
203203 Cygnus,
204 AMDOpenCL,
205204 CoreCLR,
206205 OpenCL,
207206 Simulator, // Simulator variants of other systems, e.g., Apple's iOS
231231 case MSVC: return "msvc";
232232 case Itanium: return "itanium";
233233 case Cygnus: return "cygnus";
234 case AMDOpenCL: return "amdopencl";
235234 case CoreCLR: return "coreclr";
236235 case OpenCL: return "opencl";
237236 case Simulator: return "simulator";
522521 .StartsWith("msvc", Triple::MSVC)
523522 .StartsWith("itanium", Triple::Itanium)
524523 .StartsWith("cygnus", Triple::Cygnus)
525 .StartsWith("amdopencl", Triple::AMDOpenCL)
526524 .StartsWith("coreclr", Triple::CoreCLR)
527525 .StartsWith("opencl", Triple::OpenCL)
528526 .StartsWith("simulator", Triple::Simulator)
539539 EXPECT_EQ(Triple::PC, T.getVendor());
540540 EXPECT_EQ(Triple::Darwin, T.getOS());
541541 EXPECT_EQ("i386-pc-darwin", T.getTriple());
542
543 T.setEnvironmentName("amdopencl");
544 EXPECT_EQ(Triple::AMDOpenCL, T.getEnvironment());
545542 }
546543
547544 TEST(TripleTest, BitWidthPredicates) {