Use the integrated assembler by default on SPARC.

llvm-svn: 225957
This commit is contained in:
Brad Smith 2015-01-14 07:53:39 +00:00
parent 66e4197f07
commit dd6675cef9
4 changed files with 4 additions and 5 deletions

View File

@ -42,8 +42,7 @@ SparcELFMCAsmInfo::SparcELFMCAsmInfo(StringRef TT) {
SunStyleELFSectionSwitchSyntax = true;
UsesELFSectionDirectiveForBSS = true;
if (TheTriple.isOSSolaris() || TheTriple.isOSOpenBSD())
UseIntegratedAssembler = true;
UseIntegratedAssembler = true;
}
const MCExpr*

View File

@ -1,4 +1,4 @@
; RUN: llc < %s -march=sparc
; RUN: llc < %s -march=sparc -no-integrated-as
; PR 1557
target datalayout = "E-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-f128:128:128"

View File

@ -1,4 +1,4 @@
; RUN: llc -march=sparc <%s | FileCheck %s
; RUN: llc -march=sparc -no-integrated-as <%s | FileCheck %s
; CHECK-LABEL: test_constraint_r
; CHECK: add %o1, %o0, %o0

View File

@ -1,4 +1,4 @@
; RUN: llc < %s -march=sparc
; RUN: llc < %s -march=sparc -no-integrated-as
; ModuleID = 'mult-alt-generic.c'
target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-n32"
target triple = "sparc"