Oops, forgot XCore. Sorry XCore!
authorDaniel Dunbar <daniel@zuster.org>
Sun, 26 Jul 2009 04:52:45 +0000 (04:52 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Sun, 26 Jul 2009 04:52:45 +0000 (04:52 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77125 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/ADT/Triple.h
lib/Support/Triple.cpp

index f4bc612eb287a08551e7ee767460648d1fbb8907..b6c8193f89ebcca4eeff6c0170e557289d803b72 100644 (file)
@@ -49,6 +49,7 @@ public:
     thumb,   // thumb, thumbv.*
     x86,     // i[3-9]86
     x86_64,  // amd64, x86_64
+    xcore,   // xcore
 
     InvalidArch
   };
index 89d95ca15fb1f0d2b1ce902d1bffd78756c3806a..af372e2da6e388fa5225b3fde3f219876da2f0bf 100644 (file)
@@ -27,13 +27,14 @@ const char *Triple::getArchTypeName(ArchType Kind) {
   case mips:    return "mips";
   case mipsel:  return "mipsel";
   case msp430:  return "msp430";
+  case ppc64:   return "powerpc64";
+  case ppc:     return "powerpc";
   case sparc:   return "sparc";
   case systemz: return "s390x";
   case thumb:   return "thumb";
   case x86:     return "i386";
   case x86_64:  return "x86_64";
-  case ppc:     return "powerpc";
-  case ppc64:   return "powerpc64";
+  case xcore:   return "xcore";
   }
 
   return "<invalid>";