]> granicus.if.org Git - clang/commitdiff
Add a missing check for cortex-a9.
authorBob Wilson <bob.wilson@apple.com>
Thu, 6 Oct 2011 20:27:38 +0000 (20:27 +0000)
committerBob Wilson <bob.wilson@apple.com>
Thu, 6 Oct 2011 20:27:38 +0000 (20:27 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@141308 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Driver/ToolChains.cpp

index eab76d571609abac418be0ddd64cfc311c819dd9..46fde1e0540cd173eb8eb7e9cc73336b40c00e0f 100644 (file)
@@ -156,7 +156,8 @@ static const char *GetArmArchForMCpu(StringRef Value) {
       Value == "cortex-m0" )
     return "armv6";
 
-  if (Value == "cortex-a8" || Value == "cortex-r4" || Value == "cortex-m3")
+  if (Value == "cortex-a8" || Value == "cortex-r4" || Value == "cortex-m3" ||
+      Value == "cortex-a9")
     return "armv7";
 
   return 0;