aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorSean Callanan <scallanan@apple.com>2011-07-30 01:29:54 +0000
committerSean Callanan <scallanan@apple.com>2011-07-30 01:29:54 +0000
commitefd7919618d59bd0e3fcf861cc0d1eacbbed0ac6 (patch)
tree8151ea71a9a1dce59fc62b8059a1239104ce91e6 /lib
parent4af0f5fecb42563ff3ca5bd7fddb2f4f111e2fef (diff)
downloadexternal_llvm-efd7919618d59bd0e3fcf861cc0d1eacbbed0ac6.zip
external_llvm-efd7919618d59bd0e3fcf861cc0d1eacbbed0ac6.tar.gz
external_llvm-efd7919618d59bd0e3fcf861cc0d1eacbbed0ac6.tar.bz2
Added several architecture names.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136552 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/Support/Triple.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Support/Triple.cpp b/lib/Support/Triple.cpp
index ae7640a..05e1f92 100644
--- a/lib/Support/Triple.cpp
+++ b/lib/Support/Triple.cpp
@@ -205,7 +205,8 @@ Triple::ArchType Triple::getArchTypeForDarwinArchName(StringRef Str) {
// This is derived from the driver driver.
if (Str == "arm" || Str == "armv4t" || Str == "armv5" || Str == "xscale" ||
- Str == "armv6" || Str == "armv7")
+ Str == "armv6" || Str == "armv7" || Str == "armv7f" || Str == "armv7k" ||
+ Str == "armv7s")
return Triple::arm;
if (Str == "ptx32")