Use the integrated assembler by default on SPARC.
authorBrad Smith <brad@comstyle.com>
Wed, 14 Jan 2015 07:53:39 +0000 (07:53 +0000)
committerBrad Smith <brad@comstyle.com>
Wed, 14 Jan 2015 07:53:39 +0000 (07:53 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225957 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/Sparc/MCTargetDesc/SparcMCAsmInfo.cpp
test/CodeGen/SPARC/2008-10-10-InlineAsmMemoryOperand.ll
test/CodeGen/SPARC/inlineasm.ll
test/CodeGen/SPARC/mult-alt-generic-sparc.ll

index 42690206e8c73468d3d51a127a7f3a55cb2260c6..6767e4b224f8fef60a2592bba37d36a2320e1af0 100644 (file)
@@ -42,8 +42,7 @@ SparcELFMCAsmInfo::SparcELFMCAsmInfo(StringRef TT) {
   SunStyleELFSectionSwitchSyntax = true;
   UsesELFSectionDirectiveForBSS = true;
 
-  if (TheTriple.isOSSolaris() || TheTriple.isOSOpenBSD())
-    UseIntegratedAssembler = true;
+  UseIntegratedAssembler = true;
 }
 
 const MCExpr*
index e8315f17ebb6a4f85873675b6b83d0eb1bfd06d5..373a1967307a3c32ce5a3f08919a15674e296a41 100644 (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"
index 2650533b7fecd2c7db6c6ba22264531dc798cf1d..526cde8de8b4bda70435ac1a10b08bfa4ac31a86 100644 (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
index 6013b17d93728696e4c3b2672a9bc5b51ccb6b91..6a67616d53bed4f0306c654f76447f7091af143b 100644 (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"