mirror of
				https://github.com/c64scene-ar/llvm-6502.git
				synced 2025-10-31 08:16:47 +00:00 
			
		
		
		
	Use the integrated assembler by default on SPARC.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225957 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
		| @@ -42,8 +42,7 @@ SparcELFMCAsmInfo::SparcELFMCAsmInfo(StringRef TT) { | |||||||
|   SunStyleELFSectionSwitchSyntax = true; |   SunStyleELFSectionSwitchSyntax = true; | ||||||
|   UsesELFSectionDirectiveForBSS = true; |   UsesELFSectionDirectiveForBSS = true; | ||||||
|  |  | ||||||
|   if (TheTriple.isOSSolaris() || TheTriple.isOSOpenBSD()) |   UseIntegratedAssembler = true; | ||||||
|     UseIntegratedAssembler = true; |  | ||||||
| } | } | ||||||
|  |  | ||||||
| const MCExpr* | const MCExpr* | ||||||
|   | |||||||
| @@ -1,4 +1,4 @@ | |||||||
| ; RUN: llc < %s -march=sparc | ; RUN: llc < %s -march=sparc -no-integrated-as | ||||||
| ; PR 1557 | ; 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" | 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" | ||||||
|   | |||||||
| @@ -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-LABEL: test_constraint_r | ||||||
| ; CHECK:       add %o1, %o0, %o0 | ; CHECK:       add %o1, %o0, %o0 | ||||||
|   | |||||||
| @@ -1,4 +1,4 @@ | |||||||
| ; RUN: llc < %s -march=sparc | ; RUN: llc < %s -march=sparc -no-integrated-as | ||||||
| ; ModuleID = 'mult-alt-generic.c' | ; 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 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" | target triple = "sparc" | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user