From 8c2f1d7e44d214bc2242a8c6faa4b624b3876540 Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Sun, 26 Jul 2009 04:52:45 +0000 Subject: [PATCH] Oops, forgot XCore. Sorry XCore! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77125 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/ADT/Triple.h | 1 + lib/Support/Triple.cpp | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/include/llvm/ADT/Triple.h b/include/llvm/ADT/Triple.h index f4bc612eb28..b6c8193f89e 100644 --- a/include/llvm/ADT/Triple.h +++ b/include/llvm/ADT/Triple.h @@ -49,6 +49,7 @@ public: thumb, // thumb, thumbv.* x86, // i[3-9]86 x86_64, // amd64, x86_64 + xcore, // xcore InvalidArch }; diff --git a/lib/Support/Triple.cpp b/lib/Support/Triple.cpp index 89d95ca15fb..af372e2da6e 100644 --- a/lib/Support/Triple.cpp +++ b/lib/Support/Triple.cpp @@ -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 ""; -- 2.34.1