summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--llvm/lib/Support/Triple.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/llvm/lib/Support/Triple.cpp b/llvm/lib/Support/Triple.cpp
index 2c2c90a99eb..2b8b39782cc 100644
--- a/llvm/lib/Support/Triple.cpp
+++ b/llvm/lib/Support/Triple.cpp
@@ -61,6 +61,8 @@ const char *Triple::getArchTypePrefix(ArchType Kind) {
default:
return nullptr;
+ case arm64:
+ case arm64_be:
case aarch64:
case aarch64_be: return "aarch64";
@@ -69,9 +71,6 @@ const char *Triple::getArchTypePrefix(ArchType Kind) {
case thumb:
case thumbeb: return "arm";
- case arm64:
- case arm64_be: return "arm64";
-
case ppc64:
case ppc64le:
case ppc: return "ppc";
OpenPOWER on IntegriCloud