r206227 - [Driver][ARM64] Make sure the default CPU is passed to the assembler.

Quentin Colombet qcolombet at apple.com
Mon Apr 14 17:27:36 PDT 2014


Author: qcolombet
Date: Mon Apr 14 19:27:35 2014
New Revision: 206227

URL: http://llvm.org/viewvc/llvm-project?rev=206227&view=rev
Log:
[Driver][ARM64] Make sure the default CPU is passed to the assembler.

<rdar://problem/16573920>

Modified:
    cfe/trunk/lib/Driver/Tools.cpp

Modified: cfe/trunk/lib/Driver/Tools.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Driver/Tools.cpp?rev=206227&r1=206226&r2=206227&view=diff
==============================================================================
--- cfe/trunk/lib/Driver/Tools.cpp (original)
+++ cfe/trunk/lib/Driver/Tools.cpp Mon Apr 14 19:27:35 2014
@@ -1336,6 +1336,9 @@ static std::string getCPUName(const ArgL
   case llvm::Triple::aarch64_be:
     return getAArch64TargetCPU(Args, T);
 
+  case llvm::Triple::arm64:
+    return getARM64TargetCPU(Args);
+
   case llvm::Triple::arm:
   case llvm::Triple::armeb:
   case llvm::Triple::thumb:





More information about the cfe-commits mailing list