aboutsummaryrefslogtreecommitdiff
path: root/unittests/ADT
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2012-02-22 11:32:54 +0000
committerChandler Carruth <chandlerc@gmail.com>2012-02-22 11:32:54 +0000
commitfdf0dc9e0bb5c0b848286e6c96bfc9a390d26775 (patch)
treecc8d20bc4c49394fd4e44bc8a6dc0ff1b3a47407 /unittests/ADT
parent8b6fe6b651064da51bb9bc63ece8bf1f2a36d66a (diff)
Support was removed from LLVM's MIPS backend for the PSP variant of that
chip in r139383, and the PSP components of the triple are really annoying to parse. Let's leave this chapter behind. There is no reason to expect LLVM to see a PSP-related triple these days, and so no reasonable motivation to support them. It might be reasonable to prune a few of the older MIPS triple forms in general, but as those at least cause no burden on parsing (they aren't both a chip and an OS!), I'm happy to leave them in for now. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@151156 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests/ADT')
-rw-r--r--unittests/ADT/TripleTest.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/unittests/ADT/TripleTest.cpp b/unittests/ADT/TripleTest.cpp
index 5fe9afd607..35a21877d5 100644
--- a/unittests/ADT/TripleTest.cpp
+++ b/unittests/ADT/TripleTest.cpp
@@ -162,12 +162,6 @@ TEST(TripleTest, Normalization) {
for (int OS = 1+Triple::UnknownOS; OS <= Triple::Minix; ++OS) {
C[2] = Triple::getOSTypeName(Triple::OSType(OS));
- // If a value has multiple interpretations, then the permutation
- // test will inevitably fail. Currently this is only the case for
- // "psp" which parses as both an architecture and an O/S.
- if (OS == Triple::Psp)
- continue;
-
std::string E = Join(C[0], C[1], C[2]);
EXPECT_EQ(E, Triple::normalize(Join(C[0], C[1], C[2])));
@@ -212,9 +206,6 @@ TEST(TripleTest, Normalization) {
}
}
- EXPECT_EQ("a-b-psp", Triple::normalize("a-b-psp"));
- EXPECT_EQ("psp-b-c", Triple::normalize("psp-b-c"));
-
// Various real-world funky triples. The value returned by GCC's config.sub
// is given in the comment.
EXPECT_EQ("i386--mingw32", Triple::normalize("i386-mingw32")); // i386-pc-mingw32