Add triple parsing support for XCore.
authorRichard Osborne <richard@xmos.com>
Mon, 31 Aug 2009 21:51:36 +0000 (21:51 +0000)
committerRichard Osborne <richard@xmos.com>
Mon, 31 Aug 2009 21:51:36 +0000 (21:51 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80629 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Support/Triple.cpp

index c4792e3efd88babb25b61500abbb7352793eb18e..8b482473a502269cf1c67c5cf4e977972998f93b 100644 (file)
@@ -186,6 +186,8 @@ void Triple::Parse() const {
     Arch = systemz;
   else if (ArchName == "tce")
     Arch = tce;
+  else if (ArchName == "xcore")
+    Arch = xcore;
   else
     Arch = UnknownArch;