ARM64: use the integrated assembler on ELF.
authorTim Northover <tnorthover@apple.com>
Wed, 16 Apr 2014 11:52:40 +0000 (11:52 +0000)
committerTim Northover <tnorthover@apple.com>
Wed, 16 Apr 2014 11:52:40 +0000 (11:52 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@206378 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/ARM64/MCTargetDesc/ARM64MCAsmInfo.cpp
test/CodeGen/AArch64/mature-mc-support.ll

index 97e0d3c74b37fea01c396d8178d8db904e00583b..0575e6f7d4c38477c3084aed2771892def178388 100644 (file)
@@ -89,4 +89,6 @@ ARM64MCAsmInfoELF::ARM64MCAsmInfoELF() {
 
   // Exceptions handling
   ExceptionsType = ExceptionHandling::DwarfCFI;
+
+  UseIntegratedAssembler = true;
 }
index 06e3cc7d139e112d154743a23b3ca99df6336770..3359616fa8d2cc4115fa49853c590efb9715eb07 100644 (file)
@@ -7,6 +7,12 @@
 ; RUN: not llc -mtriple=aarch64-pc-linux -filetype=obj < %s > /dev/null 2> %t2
 ; RUN: FileCheck %s < %t2
 
+; RUN: not llc -mtriple=arm64-pc-linux < %s > /dev/null 2> %t3
+; RUN: FileCheck %s < %t3
+
+; RUN: not llc -mtriple=arm64-pc-linux -filetype=obj < %s > /dev/null 2> %t4
+; RUN: FileCheck %s < %t4
+
 module asm "   .this_directive_is_very_unlikely_to_exist"
 
 ; CHECK: LLVM ERROR: Error parsing inline asm