From: John Thompson Date: Tue, 15 Mar 2011 21:51:56 +0000 (+0000) Subject: Add scei vendor X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=6046cffbaf584b5d6bd7baf827794a5f91a07a9b;p=oota-llvm.git Add scei vendor git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127705 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/ADT/Triple.h b/include/llvm/ADT/Triple.h index e6dcc23258f..ff9dd1972a4 100644 --- a/include/llvm/ADT/Triple.h +++ b/include/llvm/ADT/Triple.h @@ -72,7 +72,8 @@ public: UnknownVendor, Apple, - PC + PC, + SCEI }; enum OSType { UnknownOS, diff --git a/lib/Support/Triple.cpp b/lib/Support/Triple.cpp index 36edf6eefa7..53ca48f8464 100644 --- a/lib/Support/Triple.cpp +++ b/lib/Support/Triple.cpp @@ -84,6 +84,7 @@ const char *Triple::getVendorTypeName(VendorType Kind) { case Apple: return "apple"; case PC: return "pc"; + case SCEI: return "scei"; } return ""; @@ -296,6 +297,8 @@ Triple::VendorType Triple::ParseVendor(StringRef VendorName) { return Apple; else if (VendorName == "pc") return PC; + else if (VendorName == "scei") + return SCEI; else return UnknownVendor; }