[llvm] r225957 - Use the integrated assembler by default on SPARC.

Brad Smith brad at comstyle.com
Tue Jan 13 23:53:39 PST 2015


Author: brad
Date: Wed Jan 14 01:53:39 2015
New Revision: 225957

URL: http://llvm.org/viewvc/llvm-project?rev=225957&view=rev
Log:
Use the integrated assembler by default on SPARC.

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

Modified: llvm/trunk/lib/Target/Sparc/MCTargetDesc/SparcMCAsmInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Sparc/MCTargetDesc/SparcMCAsmInfo.cpp?rev=225957&r1=225956&r2=225957&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Sparc/MCTargetDesc/SparcMCAsmInfo.cpp (original)
+++ llvm/trunk/lib/Target/Sparc/MCTargetDesc/SparcMCAsmInfo.cpp Wed Jan 14 01:53:39 2015
@@ -42,8 +42,7 @@ SparcELFMCAsmInfo::SparcELFMCAsmInfo(Str
   SunStyleELFSectionSwitchSyntax = true;
   UsesELFSectionDirectiveForBSS = true;
 
-  if (TheTriple.isOSSolaris() || TheTriple.isOSOpenBSD())
-    UseIntegratedAssembler = true;
+  UseIntegratedAssembler = true;
 }
 
 const MCExpr*

Modified: llvm/trunk/test/CodeGen/SPARC/2008-10-10-InlineAsmMemoryOperand.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/SPARC/2008-10-10-InlineAsmMemoryOperand.ll?rev=225957&r1=225956&r2=225957&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/SPARC/2008-10-10-InlineAsmMemoryOperand.ll (original)
+++ llvm/trunk/test/CodeGen/SPARC/2008-10-10-InlineAsmMemoryOperand.ll Wed Jan 14 01:53:39 2015
@@ -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"

Modified: llvm/trunk/test/CodeGen/SPARC/inlineasm.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/SPARC/inlineasm.ll?rev=225957&r1=225956&r2=225957&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/SPARC/inlineasm.ll (original)
+++ llvm/trunk/test/CodeGen/SPARC/inlineasm.ll Wed Jan 14 01:53:39 2015
@@ -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

Modified: llvm/trunk/test/CodeGen/SPARC/mult-alt-generic-sparc.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/SPARC/mult-alt-generic-sparc.ll?rev=225957&r1=225956&r2=225957&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/SPARC/mult-alt-generic-sparc.ll (original)
+++ llvm/trunk/test/CodeGen/SPARC/mult-alt-generic-sparc.ll Wed Jan 14 01:53:39 2015
@@ -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"





More information about the llvm-commits mailing list