Added several architecture names.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136552 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Sean Callanan 2011-07-30 01:29:54 +00:00
parent 4af0f5fecb
commit efd7919618

View File

@ -205,7 +205,8 @@ Triple::ArchType Triple::getArchTypeForDarwinArchName(StringRef Str) {
// This is derived from the driver driver. // This is derived from the driver driver.
if (Str == "arm" || Str == "armv4t" || Str == "armv5" || Str == "xscale" || 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; return Triple::arm;
if (Str == "ptx32") if (Str == "ptx32")