[PATCH] D43895: [AMDGPU] Remove unused AMDOpenCL triple environment
Tony Tye via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 5 13:43:48 PST 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rL326745: [AMDGPU] Remove unused AMDOpenCL triple environment (authored by t-tye, committed by ).
Changed prior to commit:
https://reviews.llvm.org/D43895?vs=136367&id=137077#toc
Repository:
rL LLVM
https://reviews.llvm.org/D43895
Files:
llvm/trunk/include/llvm/ADT/Triple.h
llvm/trunk/lib/Support/Triple.cpp
llvm/trunk/unittests/ADT/TripleTest.cpp
Index: llvm/trunk/lib/Support/Triple.cpp
===================================================================
--- llvm/trunk/lib/Support/Triple.cpp
+++ llvm/trunk/lib/Support/Triple.cpp
@@ -232,7 +232,6 @@
case MSVC: return "msvc";
case Itanium: return "itanium";
case Cygnus: return "cygnus";
- case AMDOpenCL: return "amdopencl";
case CoreCLR: return "coreclr";
case OpenCL: return "opencl";
case Simulator: return "simulator";
@@ -523,7 +522,6 @@
.StartsWith("msvc", Triple::MSVC)
.StartsWith("itanium", Triple::Itanium)
.StartsWith("cygnus", Triple::Cygnus)
- .StartsWith("amdopencl", Triple::AMDOpenCL)
.StartsWith("coreclr", Triple::CoreCLR)
.StartsWith("opencl", Triple::OpenCL)
.StartsWith("simulator", Triple::Simulator)
Index: llvm/trunk/unittests/ADT/TripleTest.cpp
===================================================================
--- llvm/trunk/unittests/ADT/TripleTest.cpp
+++ llvm/trunk/unittests/ADT/TripleTest.cpp
@@ -540,9 +540,6 @@
EXPECT_EQ(Triple::PC, T.getVendor());
EXPECT_EQ(Triple::Darwin, T.getOS());
EXPECT_EQ("i386-pc-darwin", T.getTriple());
-
- T.setEnvironmentName("amdopencl");
- EXPECT_EQ(Triple::AMDOpenCL, T.getEnvironment());
}
TEST(TripleTest, BitWidthPredicates) {
Index: llvm/trunk/include/llvm/ADT/Triple.h
===================================================================
--- llvm/trunk/include/llvm/ADT/Triple.h
+++ llvm/trunk/include/llvm/ADT/Triple.h
@@ -202,7 +202,6 @@
MSVC,
Itanium,
Cygnus,
- AMDOpenCL,
CoreCLR,
OpenCL,
Simulator, // Simulator variants of other systems, e.g., Apple's iOS
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D43895.137077.patch
Type: text/x-patch
Size: 1641 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180305/04485183/attachment.bin>
More information about the llvm-commits
mailing list