mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-11-01 15:17:25 +00:00
Revert r201237+r201238: Demote EmitRawText call in AsmPrinter::EmitInlineAsm() and remove hasRawTextSupport() call
It introduced multiple test failures in the buildbots. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@201241 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
; RUN: llc < %s -march=x86 -no-integrated-as
|
||||
; RUN: llc < %s -march=x86
|
||||
; PR833
|
||||
|
||||
@G = weak global i32 0 ; <i32*> [#uses=3]
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
; PR850
|
||||
; RUN: llc < %s -march=x86 -x86-asm-syntax=att -no-integrated-as | FileCheck %s
|
||||
; RUN: llc < %s -march=x86 -x86-asm-syntax=att | FileCheck %s
|
||||
|
||||
; CHECK: {{movl 4[(]%eax[)],%ebp}}
|
||||
; CHECK: {{movl 0[(]%eax[)], %ebx}}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
; RUN: llc < %s -march=x86 -no-integrated-as | grep "mov %gs:72, %eax"
|
||||
; RUN: llc < %s -march=x86 | grep "mov %gs:72, %eax"
|
||||
target datalayout = "e-p:32:32"
|
||||
target triple = "i686-apple-darwin9"
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
; RUN: llc < %s -mcpu=yonah -march=x86 -no-integrated-as | FileCheck %s
|
||||
; RUN: llc < %s -mcpu=yonah -march=x86 | FileCheck %s
|
||||
|
||||
target datalayout = "e-p:32:32"
|
||||
target triple = "i686-apple-darwin9"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
; RUN: llc -no-integrated-as < %s
|
||||
; RUN: llc < %s
|
||||
; PR1748
|
||||
target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128"
|
||||
target triple = "x86_64-unknown-linux-gnu"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
; RUN: llc -no-integrated-as < %s -mtriple=x86_64-unknown-linux-gnu
|
||||
; RUN: llc < %s -mtriple=x86_64-unknown-linux-gnu
|
||||
; PR1767
|
||||
|
||||
define void @xor_sse_2(i64 %bytes, i64* %p1, i64* %p2) {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
; RUN: llc < %s -relocation-model=static -no-integrated-as | FileCheck %s
|
||||
; RUN: llc < %s -relocation-model=static | FileCheck %s
|
||||
; PR1761
|
||||
target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128"
|
||||
target triple = "x86_64-pc-linux"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
; RUN: llc -no-integrated-as < %s | FileCheck %s
|
||||
; RUN: llc < %s | FileCheck %s
|
||||
; PR2078
|
||||
; The clobber list says that "ax" is clobbered. Make sure that eax isn't
|
||||
; allocated to the input/output register.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
; RUN: llc < %s -march=x86 -no-integrated-as
|
||||
; RUN: llc < %s -march=x86
|
||||
|
||||
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:32:64-v64:64:64-v128:128:128-a0:0:64-f80:32:32"
|
||||
target triple = "i386-pc-linux-gnu"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
; RUN: llc -no-integrated-as < %s | FileCheck %s
|
||||
; RUN: llc < %s | FileCheck %s
|
||||
; rdar://5720231
|
||||
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:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128"
|
||||
target triple = "i386-apple-darwin8"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
; RUN: llc < %s -march=x86 -regalloc=fast -optimize-regalloc=0 -no-integrated-as | FileCheck %s
|
||||
; RUN: llc < %s -march=x86 -regalloc=basic -no-integrated-as | FileCheck %s
|
||||
; RUN: llc < %s -march=x86 -regalloc=greedy -no-integrated-as | FileCheck %s
|
||||
; RUN: llc < %s -march=x86 -regalloc=fast -optimize-regalloc=0 | FileCheck %s
|
||||
; RUN: llc < %s -march=x86 -regalloc=basic | FileCheck %s
|
||||
; RUN: llc < %s -march=x86 -regalloc=greedy | FileCheck %s
|
||||
|
||||
; The 1st, 2nd, 3rd and 5th registers must all be different. The registers
|
||||
; referenced in the 4th and 6th operands must not be the same as the 1st or 5th
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
; RUN: llc < %s -march=x86 -no-integrated-as
|
||||
; RUN: llc < %s -march=x86-64 -no-integrated-as
|
||||
; RUN: llc < %s -march=x86
|
||||
; RUN: llc < %s -march=x86-64
|
||||
|
||||
define void @test(i64 %x) nounwind {
|
||||
entry:
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
; RUN: llc < %s -march=x86 -no-integrated-as
|
||||
; RUN: llc < %s -march=x86-64 -no-integrated-as
|
||||
; RUN: llc < %s -march=x86
|
||||
; RUN: llc < %s -march=x86-64
|
||||
|
||||
; from gcc.c-torture/compile/920520-1.c
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
; RUN: llc < %s -march=x86 -no-integrated-as | FileCheck %s
|
||||
; RUN: llc < %s -march=x86 | FileCheck %s
|
||||
|
||||
; ModuleID = 'shant.c'
|
||||
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:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
; RUN: llc < %s -mtriple=i386-apple-darwin -no-integrated-as
|
||||
; RUN: llc < %s -mtriple=i386-apple-darwin
|
||||
; rdar://6781755
|
||||
; PR3934
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
; RUN: llc < %s -relocation-model=static -no-integrated-as | FileCheck %s
|
||||
; RUN: llc < %s -relocation-model=static | FileCheck %s
|
||||
; PR4152
|
||||
|
||||
; CHECK: {{1: ._pv_cpu_ops[+]8}}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
; RUN: llc -no-integrated-as < %s | FileCheck %s
|
||||
; RUN: llc < %s | FileCheck %s
|
||||
; ModuleID = '4964.c'
|
||||
; PR 4964
|
||||
; Registers other than RAX, RCX are OK, but they must be different.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
; RUN: llc < %s -mtriple=x86_64-apple-darwin -no-integrated-as | FileCheck %s
|
||||
; RUN: llc < %s -mtriple=x86_64-apple-darwin | FileCheck %s
|
||||
; pr5391
|
||||
|
||||
define void @t() nounwind ssp {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
; RUN: llc < %s -O0 -regalloc=fast -no-integrated-as | FileCheck %s
|
||||
; RUN: llc < %s -O0 -regalloc=fast | FileCheck %s
|
||||
; PR6520
|
||||
|
||||
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:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128-n8:16:32"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
; RUN: llc -regalloc=fast -optimize-regalloc=0 -no-integrated-as < %s | FileCheck %s
|
||||
; RUN: llc -regalloc=fast -optimize-regalloc=0 < %s | FileCheck %s
|
||||
; PR7382
|
||||
target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64"
|
||||
target triple = "x86_64-unknown-linux-gnu"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
; RUN: llc < %s -disable-fp-elim -mtriple=i686-pc-mingw32 -no-integrated-as
|
||||
; RUN: llc < %s -disable-fp-elim -mtriple=i686-pc-mingw32
|
||||
|
||||
%struct.__SEH2Frame = type {}
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
; RUN: llc < %s -march=x86 -O0 -no-integrated-as | FileCheck %s
|
||||
; RUN: llc < %s -march=x86 -O0 | FileCheck %s
|
||||
; PR7509
|
||||
target triple = "i386-apple-darwin10"
|
||||
%asmtype = type { i32, i8*, i32, i32 }
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
; RUN: llc < %s -mtriple=x86_64-apple-darwin11 -no-integrated-as | FileCheck %s
|
||||
; RUN: llc < %s -mtriple=x86_64-apple-darwin11 | FileCheck %s
|
||||
; Any register is OK for %0, but it must be a register, not memory.
|
||||
|
||||
define i32 @foo() nounwind ssp {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
; RUN: llc < %s -mtriple=x86_64-apple-darwin10 -no-integrated-as | FileCheck %s
|
||||
; RUN: llc < %s -mtriple=x86_64-apple-darwin10 | FileCheck %s
|
||||
|
||||
define void @foo() nounwind ssp {
|
||||
entry:
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
; RUN: llc < %s -mtriple=x86_64-apple-darwin -no-integrated-as | FileCheck %s
|
||||
; RUN: llc < %s -mtriple=x86_64-apple-darwin | FileCheck %s
|
||||
; PR 4752
|
||||
|
||||
@n = global i32 0 ; <i32*> [#uses=2]
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
; RUN: llc < %s -mtriple=x86_64-apple-darwin -no-integrated-as | FileCheck %s
|
||||
; RUN: llc < %s -mtriple=x86_64-apple-darwin | FileCheck %s
|
||||
; PR 7528
|
||||
; formerly crashed
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
; RUN: llc < %s -verify-regalloc -no-integrated-as
|
||||
; RUN: llc < %s -verify-regalloc
|
||||
; PR11125
|
||||
target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64-S128"
|
||||
target triple = "x86_64-apple-macosx10.7"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
; RUN: opt < %s -std-compile-opts | llc -no-integrated-as
|
||||
; RUN: opt < %s -std-compile-opts | llc
|
||||
; ModuleID = 'block12.c'
|
||||
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:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128"
|
||||
target triple = "i686-apple-darwin8"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
; RUN: llc < %s -march=x86 -relocation-model=static -no-integrated-as | FileCheck %s
|
||||
; RUN: llc < %s -march=x86 -relocation-model=static | FileCheck %s
|
||||
; PR882
|
||||
|
||||
target datalayout = "e-p:32:32"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
; RUN: llc -mtriple=x86_64-pc-linux-gnu %s -o - -no-integrated-as | FileCheck %s
|
||||
; RUN: llc -mtriple=x86_64-pc-linux-gnu %s -o - | FileCheck %s
|
||||
|
||||
; C code this came from
|
||||
;bool cas(float volatile *p, float *expected, float desired) {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
; RUN: llc < %s -fast-isel -fast-isel-abort -verify-machineinstrs -march=x86 -mattr=sse2 -no-integrated-as
|
||||
; RUN: llc < %s -fast-isel -fast-isel-abort -verify-machineinstrs -mtriple=x86_64-apple-darwin10 -no-integrated-as
|
||||
; RUN: llc < %s -fast-isel -fast-isel-abort -verify-machineinstrs -march=x86 -mattr=sse2
|
||||
; RUN: llc < %s -fast-isel -fast-isel-abort -verify-machineinstrs -mtriple=x86_64-apple-darwin10
|
||||
|
||||
; This tests very minimal fast-isel functionality.
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
; RUN: llc < %s -mtriple=i386-apple-macosx10.6.7 -mattr=+sse2 -no-integrated-as | FileCheck %s
|
||||
; RUN: llc < %s -mtriple=i386-apple-macosx10.6.7 -mattr=+sse2 | FileCheck %s
|
||||
|
||||
; Simple test to make sure folding for special constants (like float zero)
|
||||
; isn't completely broken.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
; RUN: llc -march=x86-64 -no-integrated-as < %s | FileCheck %s
|
||||
; RUN: llc -march=x86-64 < %s | FileCheck %s
|
||||
; PR3701
|
||||
|
||||
define i64 @t(i64* %arg) nounwind {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
; RUN: llc < %s -mcpu=generic -mtriple=i386-apple-darwin -no-integrated-as | FileCheck %s
|
||||
; RUN: llc < %s -mcpu=generic -mtriple=i386-apple-darwin | FileCheck %s
|
||||
|
||||
; There should be no stack manipulations between the inline asm and ret.
|
||||
; CHECK: test1
|
||||
|
||||
@@ -9,4 +9,4 @@ entry:
|
||||
}
|
||||
|
||||
; CHECK: zed
|
||||
; CHECK: movq %mm2, foobar+8(%rip)
|
||||
; CHECK: movq %mm2,foobar+8(%rip)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
; RUN: llc < %s -march=x86 -no-integrated-as | grep " 37"
|
||||
; RUN: llc < %s -march=x86 | grep " 37"
|
||||
; rdar://7008959
|
||||
|
||||
define void @bork() nounwind {
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
; PR2094
|
||||
; RUN: llc < %s -march=x86-64 -no-integrated-as | grep movslq
|
||||
; RUN: llc < %s -march=x86-64 -no-integrated-as | grep addps
|
||||
; RUN: llc < %s -march=x86-64 -no-integrated-as | grep paddd
|
||||
; RUN: llc < %s -march=x86-64 -no-integrated-as | not grep movq
|
||||
; RUN: llc < %s -march=x86-64 | grep movslq
|
||||
; RUN: llc < %s -march=x86-64 | grep addps
|
||||
; RUN: llc < %s -march=x86-64 | grep paddd
|
||||
; RUN: llc < %s -march=x86-64 | not grep movq
|
||||
|
||||
target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128"
|
||||
target triple = "x86_64-apple-darwin8"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
; RUN: llc < %s -march=x86-64 -mattr=+avx -no-integrated-as
|
||||
; RUN: llc < %s -march=x86-64 -mattr=+avx
|
||||
; rdar://7066579
|
||||
|
||||
%0 = type { i64, i64, i64, i64, i64 } ; type %0
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
; RUN: llc -march=x86 -no-integrated-as < %s | FileCheck %s
|
||||
; RUN: llc -march=x86 < %s | FileCheck %s
|
||||
|
||||
declare void @bar(i32* %junk)
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
; RUN: llc < %s -mtriple=i386-apple-darwin9 -O0 -optimize-regalloc -regalloc=basic -no-integrated-as | FileCheck %s
|
||||
; RUN: llc < %s -mtriple=i386-apple-darwin9 -O0 -optimize-regalloc -regalloc=basic | FileCheck %s
|
||||
; rdar://6992609
|
||||
|
||||
; CHECK: movl [[EDX:%e..]], 4(%esp)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
; RUN: llc < %s -march=x86 -mcpu=yonah -no-integrated-as
|
||||
; RUN: llc < %s -march=x86 -mcpu=yonah
|
||||
|
||||
define void @test1() {
|
||||
tail call void asm sideeffect "ucomiss $0", "x"( float 0x41E0000000000000)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
; RUN: llc < %s -march=x86 -no-integrated-as
|
||||
; RUN: llc < %s -march=x86
|
||||
|
||||
define i32 @test1() nounwind {
|
||||
; Dest is AX, dest type = i32.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
; RUN: llc < %s -march=x86 -mcpu=core2 -no-integrated-as | FileCheck %s
|
||||
; RUN: llc < %s -march=x86 -mcpu=core2 | FileCheck %s
|
||||
|
||||
define i32 @t1() nounwind {
|
||||
entry:
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
; RUN: llc < %s -march=x86 -no-integrated-as
|
||||
; RUN: llc < %s -march=x86
|
||||
; 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:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:32:32-n8:16:32"
|
||||
target triple = "i686"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
; RUN: llc < %s -march=x86-64 -no-integrated-as
|
||||
; RUN: llc < %s -march=x86-64
|
||||
; ModuleID = 'mult-alt-generic.c'
|
||||
target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64"
|
||||
target triple = "x86_64"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
; RUN: llc < %s -march=x86 -mattr=+sse2 -no-integrated-as
|
||||
; RUN: llc < %s -march=x86 -mattr=+sse2
|
||||
; ModuleID = 'mult-alt-x86.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-f80:128:128-v64:64:64-v128:128:128-a0:0:64-f80:32:32-n8:16:32"
|
||||
target triple = "i686-pc-win32"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
; RUN: llc -asm-verbose=false -disable-branch-fold -disable-block-placement -disable-tail-duplicate -march=x86-64 -mcpu=nehalem -no-integrated-as < %s | FileCheck %s
|
||||
; RUN: llc -asm-verbose=false -disable-branch-fold -disable-block-placement -disable-tail-duplicate -march=x86-64 -mcpu=nehalem < %s | FileCheck %s
|
||||
; rdar://7236213
|
||||
;
|
||||
; The scheduler's 2-address hack has been disabled, so there is
|
||||
|
||||
Reference in New Issue
Block a user