forked from OSchip/llvm-project
Eliminate more uses of llvm-as and llvm-dis.
llvm-svn: 81290
This commit is contained in:
parent
f87421f088
commit
40503396da
|
@ -1,4 +1,4 @@
|
|||
; RUN: llvm-as < %s | llc -march=x86 -regalloc=simple
|
||||
; RUN: llc < %s -march=x86 -regalloc=simple
|
||||
|
||||
define i32 @main() {
|
||||
; %A = 0
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: llvm-as < %s | llc -march=x86 -regalloc=simple
|
||||
; RUN: llc < %s -march=x86 -regalloc=simple
|
||||
|
||||
define i32 @main(i32 %B) {
|
||||
;%B = add i32 0, 1;
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
; it makes a ton of annoying overlapping live ranges. This code should not
|
||||
; cause spills!
|
||||
;
|
||||
; RUN: llvm-as < %s | llc -march=x86 -stats |& not grep spilled
|
||||
; RUN: llc < %s -march=x86 -stats |& not grep spilled
|
||||
|
||||
target datalayout = "e-p:32:32"
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: llvm-as < %s | llc -march=x86
|
||||
; RUN: llc < %s -march=x86
|
||||
|
||||
define i32 @test() {
|
||||
entry:
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: llvm-as < %s | llc -march=x86 | \
|
||||
; RUN: llc < %s -march=x86 | \
|
||||
; RUN: not grep {.byte\[\[:space:\]\]*true}
|
||||
|
||||
@X = global i1 true ; <i1*> [#uses=0]
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: llvm-as < %s | llc -march=x86 -mtriple=i686-pc-linux-gnu | grep movs | count 1
|
||||
; RUN: llc < %s -march=x86 -mtriple=i686-pc-linux-gnu | grep movs | count 1
|
||||
|
||||
@A = global [32 x i32] zeroinitializer
|
||||
@B = global [32 x i32] zeroinitializer
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
; RUN: llvm-as < %s | llc -march=x86 | grep {(%esp}
|
||||
; RUN: llvm-as < %s | llc -march=x86 | grep {pushl %ebp} | count 1
|
||||
; RUN: llvm-as < %s | llc -march=x86 | grep {popl %ebp} | count 1
|
||||
; RUN: llc < %s -march=x86 | grep {(%esp}
|
||||
; RUN: llc < %s -march=x86 | grep {pushl %ebp} | count 1
|
||||
; RUN: llc < %s -march=x86 | grep {popl %ebp} | count 1
|
||||
|
||||
declare i8* @llvm.returnaddress(i32)
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: llvm-as < %s | llc -march=x86 | grep -i ESP | not grep sub
|
||||
; RUN: llc < %s -march=x86 | grep -i ESP | not grep sub
|
||||
|
||||
define i32 @test(i32 %X) {
|
||||
ret i32 %X
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: llvm-as < %s | llc -march=x86
|
||||
; RUN: llc < %s -march=x86
|
||||
define i1 @test1(double %X) {
|
||||
%V = fcmp one double %X, 0.000000e+00 ; <i1> [#uses=1]
|
||||
ret i1 %V
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: llvm-as < %s | llc -march=x86 | not grep {j\[lgbe\]}
|
||||
; RUN: llc < %s -march=x86 | not grep {j\[lgbe\]}
|
||||
|
||||
define i32 @max(i32 %A, i32 %B) {
|
||||
%gt = icmp sgt i32 %A, %B ; <i1> [#uses=1]
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
; overlapping live intervals. When two overlapping intervals have the same
|
||||
; value, they can be joined though.
|
||||
;
|
||||
; RUN: llvm-as < %s | llc -march=x86 -regalloc=linearscan | \
|
||||
; RUN: llc < %s -march=x86 -regalloc=linearscan | \
|
||||
; RUN: not grep {mov %\[A-Z\]\\\{2,3\\\}, %\[A-Z\]\\\{2,3\\\}}
|
||||
|
||||
define i64 @test(i64 %x) {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: llvm-as < %s | llc -march=x86
|
||||
; RUN: llc < %s -march=x86
|
||||
|
||||
define double @test(double %d) {
|
||||
%X = select i1 false, double %d, double %d ; <double> [#uses=1]
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: llvm-as < %s | llc -march=x86
|
||||
; RUN: llc < %s -march=x86
|
||||
|
||||
define i1 @T(double %X) {
|
||||
%V = fcmp oeq double %X, %X ; <i1> [#uses=1]
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: llvm-as < %s | llc -march=x86
|
||||
; RUN: llc < %s -march=x86
|
||||
|
||||
define i1 @test(i1 %C, i1 %D, i32 %X, i32 %Y) {
|
||||
%E = icmp slt i32 %X, %Y ; <i1> [#uses=1]
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
; is invalid code (there is no correct way to order the instruction). Check
|
||||
; that we do not fold the load into the sub.
|
||||
|
||||
; RUN: llvm-as < %s | llc -march=x86 | not grep sub.*GLOBAL
|
||||
; RUN: llc < %s -march=x86 | not grep sub.*GLOBAL
|
||||
|
||||
@GLOBAL = external global i32 ; <i32*> [#uses=1]
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: llvm-as < %s | llc -march=x86 | not grep 18446744073709551612
|
||||
; RUN: llc < %s -march=x86 | not grep 18446744073709551612
|
||||
|
||||
@A = external global i32 ; <i32*> [#uses=1]
|
||||
@Y = global i32* getelementptr (i32* @A, i32 -1) ; <i32**> [#uses=0]
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: llvm-as < %s | llc -march=x86 -mcpu=generic
|
||||
; RUN: llc < %s -march=x86 -mcpu=generic
|
||||
; Make sure LLC doesn't crash in the stackifier due to FP PHI nodes.
|
||||
|
||||
define void @radfg_() {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: llvm-as < %s | llc -march=x86 | \
|
||||
; RUN: llc < %s -march=x86 | \
|
||||
; RUN: grep shld | count 1
|
||||
;
|
||||
; Check that the isel does not fold the shld, which already folds a load
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: llvm-as < %s | llc -march=x86 | not grep {subl.*%esp}
|
||||
; RUN: llc < %s -march=x86 | not grep {subl.*%esp}
|
||||
|
||||
define i32 @f(i32 %a, i32 %b) {
|
||||
%tmp.2 = mul i32 %a, %a ; <i32> [#uses=1]
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: llvm-as < %s | llc -march=x86 -stats |& \
|
||||
; RUN: llc < %s -march=x86 -stats |& \
|
||||
; RUN: grep asm-printer | grep 7
|
||||
|
||||
define i32 @g(i32 %a, i32 %b) nounwind {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: llvm-as < %s | llc -march=x86 -mcpu=yonah
|
||||
; RUN: llc < %s -march=x86 -mcpu=yonah
|
||||
; END.
|
||||
|
||||
target datalayout = "e-p:32:32"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: llvm-as < %s | llc -march=x86 -mcpu=yonah -stats |& \
|
||||
; RUN: llc < %s -march=x86 -mcpu=yonah -stats |& \
|
||||
; RUN: not grep {Number of register spills}
|
||||
; END.
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: llvm-as < %s | llc -march=x86 -stats |& \
|
||||
; RUN: llc < %s -march=x86 -stats |& \
|
||||
; RUN: grep asm-printer | grep 13
|
||||
|
||||
define void @_ZN9__gnu_cxx9hashtableISt4pairIKPKciES3_NS_4hashIS3_EESt10_Select1stIS5_E5eqstrSaIiEE14find_or_insertERKS5__cond_true456.i(i8* %tmp435.i, i32* %tmp449.i.out) nounwind {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
; Coalescing from R32 to a subset R32_. Once another register coalescer bug is
|
||||
; fixed, the movb should go away as well.
|
||||
|
||||
; RUN: llvm-as < %s | llc -march=x86 -relocation-model=static | \
|
||||
; RUN: llc < %s -march=x86 -relocation-model=static | \
|
||||
; RUN: grep movl
|
||||
|
||||
@B = external global i32 ; <i32*> [#uses=2]
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 -stats -realign-stack=0 |&\
|
||||
; RUN: llc < %s -march=x86 -mattr=+sse2 -stats -realign-stack=0 |&\
|
||||
; RUN: grep {asm-printer} | grep 31
|
||||
|
||||
target datalayout = "e-p:32:32"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2
|
||||
; RUN: llc < %s -march=x86 -mattr=+sse2
|
||||
|
||||
define <4 x float> @opRSQ(<4 x float> %a) nounwind {
|
||||
entry:
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
; RUN: llvm-as < %s | llc -march=x86 | grep setnp
|
||||
; RUN: llvm-as < %s | llc -march=x86 -enable-unsafe-fp-math | \
|
||||
; RUN: llc < %s -march=x86 | grep setnp
|
||||
; RUN: llc < %s -march=x86 -enable-unsafe-fp-math | \
|
||||
; RUN: not grep setnp
|
||||
|
||||
define i32 @test(float %f) {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: llvm-as < %s | llc -march=x86
|
||||
; RUN: llc < %s -march=x86
|
||||
|
||||
define i32 @test() {
|
||||
br i1 false, label %cond_next33, label %cond_true12
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: llvm-as < %s | llc -march=x86
|
||||
; RUN: llc < %s -march=x86
|
||||
; PR825
|
||||
|
||||
define i64 @test() {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: llvm-as < %s | llc -march=x86
|
||||
; RUN: llc < %s -march=x86
|
||||
; PR828
|
||||
|
||||
target datalayout = "e-p:32:32"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: llvm-as < %s | llc -march=x86 -x86-asm-syntax=att
|
||||
; RUN: llc < %s -march=x86 -x86-asm-syntax=att
|
||||
; PR834
|
||||
; END.
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: llvm-as < %s | llc -march=x86
|
||||
; RUN: llc < %s -march=x86
|
||||
; PR833
|
||||
|
||||
@G = weak global i32 0 ; <i32*> [#uses=3]
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: llvm-as < %s | llc -march=x86 | grep -- 4294967240
|
||||
; RUN: llc < %s -march=x86 | grep -- 4294967240
|
||||
; PR853
|
||||
|
||||
@X = global i32* inttoptr (i64 -56 to i32*) ; <i32**> [#uses=0]
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
; PR850
|
||||
; RUN: llvm-as < %s | llc -march=x86 -x86-asm-syntax=att > %t
|
||||
; RUN: llc < %s -march=x86 -x86-asm-syntax=att > %t
|
||||
; RUN: grep {movl 4(%eax),%ebp} %t
|
||||
; RUN: grep {movl 0(%eax), %ebx} %t
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2
|
||||
; RUN: llc < %s -march=x86 -mattr=+sse2
|
||||
%struct.foo = type opaque
|
||||
|
||||
define fastcc i32 @test(%struct.foo* %v, %struct.foo* %vi) {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: llvm-as < %s | llc -march=x86
|
||||
; RUN: llc < %s -march=x86
|
||||
%struct.expr = type { %struct.rtx_def*, i32, %struct.expr*, %struct.occr*, %struct.occr*, %struct.rtx_def* }
|
||||
%struct.hash_table = type { %struct.expr**, i32, i32, i32 }
|
||||
%struct.occr = type { %struct.occr*, %struct.rtx_def*, i8, i8 }
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: llvm-as < %s | llc -march=x86 -mcpu=i386 | \
|
||||
; RUN: llc < %s -march=x86 -mcpu=i386 | \
|
||||
; RUN: not grep {movl %eax, %edx}
|
||||
|
||||
define i32 @foo(i32 %t, i32 %C) {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: llvm-as < %s | llc -march=x86
|
||||
; RUN: llc < %s -march=x86
|
||||
target datalayout = "e-p:32:32"
|
||||
target triple = "i686-apple-darwin8"
|
||||
%struct.CUMULATIVE_ARGS = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 }
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: llvm-as < %s | llc
|
||||
; RUN: llc < %s
|
||||
; PR933
|
||||
|
||||
define fastcc i1 @test() {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: llvm-as < %s | llc -march=x86 -mattr=sse | grep movaps
|
||||
; RUN: llc < %s -march=x86 -mattr=sse | grep movaps
|
||||
; Test that the load is NOT folded into the intrinsic, which would zero the top
|
||||
; elts of the loaded vector.
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: llvm-as < %s | llc -march=x86
|
||||
; RUN: llc < %s -march=x86
|
||||
|
||||
define void @_ZN13QFSFileEngine4readEPcx() {
|
||||
%tmp201 = load i32* null ; <i32> [#uses=1]
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: llvm-as < %s | llc -march=x86 | grep shrl
|
||||
; RUN: llc < %s -march=x86 | grep shrl
|
||||
; Bug in FindModifiedNodeSlot cause tmp14 load to become a zextload and shr 31
|
||||
; is then optimized away.
|
||||
@tree_code_type = external global [0 x i32] ; <[0 x i32]*> [#uses=1]
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: llvm-as < %s | llc -march=x86
|
||||
; RUN: llc < %s -march=x86
|
||||
%struct.function = type opaque
|
||||
%struct.lang_decl = type opaque
|
||||
%struct.location_t = type { i8*, i32 }
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: llvm-as < %s | llc -march=x86
|
||||
; RUN: llc < %s -march=x86
|
||||
@str = external global [18 x i8] ; <[18 x i8]*> [#uses=1]
|
||||
|
||||
define void @test() {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: llvm-as < %s | llc -march=x86 -asm-verbose | FileCheck %s
|
||||
; RUN: llc < %s -march=x86 -asm-verbose | FileCheck %s
|
||||
|
||||
@str = internal constant [14 x i8] c"Hello world!\0A\00" ; <[14 x i8]*> [#uses=1]
|
||||
@str.upgrd.1 = internal constant [13 x i8] c"Blah world!\0A\00" ; <[13 x i8]*> [#uses=1]
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: llvm-as < %s | llc -march=x86 | grep {subl \$4, %esp}
|
||||
; RUN: llc < %s -march=x86 | grep {subl \$4, %esp}
|
||||
|
||||
target triple = "i686-pc-linux-gnu"
|
||||
@str = internal constant [9 x i8] c"%f+%f*i\0A\00" ; <[9 x i8]*> [#uses=1]
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: llvm-as < %s | llc -march=x86-64 > %t
|
||||
; RUN: llc < %s -march=x86-64 > %t
|
||||
; RUN: grep movb %t | count 2
|
||||
; RUN: grep {movzb\[wl\]} %t
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: llvm-as < %s | llc -march=x86 | grep test.*1
|
||||
; RUN: llc < %s -march=x86 | grep test.*1
|
||||
; PR1016
|
||||
|
||||
define i32 @test(i32 %A, i32 %B, i32 %C) {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: llvm-as < %s | llc -march=x86 -x86-asm-syntax=intel
|
||||
; RUN: llc < %s -march=x86 -x86-asm-syntax=intel
|
||||
; PR1061
|
||||
target datalayout = "e-p:32:32"
|
||||
target triple = "i686-pc-linux-gnu"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
; PR1075
|
||||
; RUN: llvm-as < %s | llc -mtriple=x86_64-apple-darwin | FileCheck %s
|
||||
; RUN: llc < %s -mtriple=x86_64-apple-darwin | FileCheck %s
|
||||
|
||||
define float @foo(float %x) nounwind {
|
||||
%tmp1 = fmul float %x, 3.000000e+00
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: llvm-as < %s | llc -march=x86-64 > %t
|
||||
; RUN: llc < %s -march=x86-64 > %t
|
||||
; RUN: grep leaq %t
|
||||
; RUN: not grep {,%rsp)} %t
|
||||
; PR1103
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: llvm-as < %s | llc -march=x86
|
||||
; RUN: llc < %s -march=x86
|
||||
; Test 'ri' constraint.
|
||||
|
||||
define void @run_init_process() {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
; RUN: llvm-as < %s | llc -march=x86 | grep {orl \$1, %eax}
|
||||
; RUN: llvm-as < %s | llc -march=x86 | grep {leal 3(,%eax,8)}
|
||||
; RUN: llc < %s -march=x86 | grep {orl \$1, %eax}
|
||||
; RUN: llc < %s -march=x86 | grep {leal 3(,%eax,8)}
|
||||
|
||||
;; This example can't fold the or into an LEA.
|
||||
define i32 @test(float ** %tmp2, i32 %tmp12) {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: llvm-as < %s | llc -march=x86 -mtriple=i686-pc-linux-gnu -relocation-model=pic
|
||||
; RUN: llc < %s -march=x86 -mtriple=i686-pc-linux-gnu -relocation-model=pic
|
||||
; PR1027
|
||||
|
||||
%struct._IO_FILE = type { i32, i8*, i8*, i8*, i8*, i8*, i8*, i8*, i8*, i8*, i8*, i8*, %struct._IO_marker*, %struct._IO_FILE*, i32, i32, i32, i16, i8, [1 x i8], i8*, i64, i8*, i8*, i8*, i8*, i32, i32, [40 x i8] }
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: llvm-as < %s | llc -march=x86 -mcpu=pentium3
|
||||
; RUN: llc < %s -march=x86 -mcpu=pentium3
|
||||
|
||||
define internal fastcc double @ggc_rlimit_bound(double %limit) {
|
||||
ret double %limit
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
; RUN: llvm-as < %s | llc -mtriple=x86_64-apple-darwin8 -mattr=+sse2
|
||||
; RUN: llvm-as < %s | llc -mtriple=x86_64-apple-darwin8 -mattr=+sse2 | not grep movhlps
|
||||
; RUN: llc < %s -mtriple=x86_64-apple-darwin8 -mattr=+sse2
|
||||
; RUN: llc < %s -mtriple=x86_64-apple-darwin8 -mattr=+sse2 | not grep movhlps
|
||||
|
||||
define void @test() nounwind {
|
||||
test.exit:
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: llvm-as < %s | llc -march=x86 -mtriple=i686-darwin | \
|
||||
; RUN: llc < %s -march=x86 -mtriple=i686-darwin | \
|
||||
; RUN: grep push | count 3
|
||||
|
||||
define void @foo(i8** %buf, i32 %size, i32 %col, i8* %p) {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: llvm-as < %s | llc -march=x86
|
||||
; RUN: llc < %s -march=x86
|
||||
|
||||
; ModuleID = 'a.bc'
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: llvm-as < %s | llc -march=x86
|
||||
; RUN: llc < %s -march=x86
|
||||
; PR1259
|
||||
|
||||
define void @test() {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: llvm-as < %s | llc -march=x86
|
||||
; RUN: llc < %s -march=x86
|
||||
|
||||
define i32 @test(i16 %tmp40414244) {
|
||||
%tmp48 = call i32 asm sideeffect "inl ${1:w}, $0", "={ax},N{dx},~{dirflag},~{fpsr},~{flags}"( i16 %tmp40414244 )
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: llvm-as < %s | llc -march=x86 | 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: llvm-as < %s | llc -mcpu=yonah -march=x86 | \
|
||||
; RUN: llc < %s -mcpu=yonah -march=x86 | \
|
||||
; RUN: grep {cmpltsd %xmm0, %xmm0}
|
||||
target datalayout = "e-p:32:32"
|
||||
target triple = "i686-apple-darwin9"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: llvm-as < %s | llc -march=x86 | grep {psrlw \$8, %xmm0}
|
||||
; RUN: llc < %s -march=x86 | grep {psrlw \$8, %xmm0}
|
||||
target datalayout = "e-p:32:32"
|
||||
target triple = "i686-apple-darwin9"
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: llvm-as < %s | llc -march=x86
|
||||
; RUN: llc < %s -march=x86
|
||||
|
||||
@data = external global [339 x i64]
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: llvm-as < %s | llc
|
||||
; RUN: llc < %s
|
||||
; PR1314
|
||||
|
||||
target datalayout = "e-p:64:64:64-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"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: llvm-as < %s | llc -march=x86 -mcpu=yonah
|
||||
; RUN: llc < %s -march=x86 -mcpu=yonah
|
||||
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"
|
||||
target triple = "i686-apple-darwin8"
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: llvm-as < %s | llc -mtriple=i686-apple-darwin -relocation-model=pic --disable-fp-elim
|
||||
; RUN: llc < %s -mtriple=i686-apple-darwin -relocation-model=pic --disable-fp-elim
|
||||
|
||||
%struct.FILE = type { i8*, i32, i32, i16, i16, %struct.__sbuf, i32, i8*, i32 (i8*)*, i32 (i8*, i8*, i32)*, i64 (i8*, i64, i32)*, i32 (i8*, i8*, i32)*, %struct.__sbuf, %struct.__sFILEX*, i32, [3 x i8], [1 x i8], %struct.__sbuf, i32, i64 }
|
||||
%struct.__sFILEX = type opaque
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: llvm-as < %s | llc -march=x86-64 | not grep 4294967112
|
||||
; RUN: llc < %s -march=x86-64 | not grep 4294967112
|
||||
; PR1348
|
||||
|
||||
%struct.md5_ctx = type { i32, i32, i32, i32, [2 x i32], i32, [128 x i8], [4294967288 x i8] }
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: llvm-as < %s | llc -mcpu=yonah
|
||||
; RUN: llc < %s -mcpu=yonah
|
||||
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"
|
||||
target triple = "i686-apple-darwin8"
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
; RUN: llvm-as < %s | llc -o - -march=x86 -mattr=+mmx | grep paddq | count 2
|
||||
; RUN: llvm-as < %s | llc -o - -march=x86 -mattr=+mmx | grep movq | count 2
|
||||
; RUN: llc < %s -o - -march=x86 -mattr=+mmx | grep paddq | count 2
|
||||
; RUN: llc < %s -o - -march=x86 -mattr=+mmx | grep movq | count 2
|
||||
|
||||
define <1 x i64> @unsigned_add3(<1 x i64>* %a, <1 x i64>* %b, i32 %count) {
|
||||
entry:
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: llvm-as < %s | llc | not grep {bsrl.*10}
|
||||
; RUN: llc < %s | not grep {bsrl.*10}
|
||||
; PR1356
|
||||
|
||||
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"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: llvm-as < %s | llc -march=x86 -mcpu=i386 -mattr=+sse
|
||||
; RUN: llc < %s -march=x86 -mcpu=i386 -mattr=+sse
|
||||
; PR1371
|
||||
|
||||
@str = external global [18 x i8] ; <[18 x i8]*> [#uses=1]
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: llvm-as < %s | llc -mtriple=i686-pc-linux-gnu -enable-eh -disable-fp-elim | not grep {addl .12, %esp}
|
||||
; RUN: llc < %s -mtriple=i686-pc-linux-gnu -enable-eh -disable-fp-elim | not grep {addl .12, %esp}
|
||||
; PR1398
|
||||
|
||||
%struct.S = type { i32, i32 }
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: llvm-as < %s | llc -march=x86-64
|
||||
; RUN: llc < %s -march=x86-64
|
||||
|
||||
%struct.XDesc = type <{ i32, %struct.OpaqueXDataStorageType** }>
|
||||
%struct.OpaqueXDataStorageType = type opaque
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: llvm-as < %s | llc -mcpu=yonah
|
||||
; RUN: llc < %s -mcpu=yonah
|
||||
|
||||
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"
|
||||
target triple = "i686-apple-darwin8"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2
|
||||
; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 | not grep punpckhwd
|
||||
; RUN: llc < %s -march=x86 -mattr=+sse2
|
||||
; RUN: llc < %s -march=x86 -mattr=+sse2 | not grep punpckhwd
|
||||
|
||||
declare <8 x i16> @llvm.x86.sse2.packuswb.128(<8 x i16>, <8 x i16>)
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
; RUN: llvm-as < %s | llc -mtriple=x86_64-apple-darwin | not grep GOTPCREL
|
||||
; RUN: llvm-as < %s | llc -mtriple=x86_64-apple-darwin | grep ".align.*3"
|
||||
; RUN: llc < %s -mtriple=x86_64-apple-darwin | not grep GOTPCREL
|
||||
; RUN: llc < %s -mtriple=x86_64-apple-darwin | grep ".align.*3"
|
||||
|
||||
%struct.A = type { [1024 x i8] }
|
||||
@_ZN1A1aE = global %struct.A zeroinitializer, align 32 ; <%struct.A*> [#uses=1]
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: llvm-as < %s | llc -enable-eh -asm-verbose | grep invcont131
|
||||
; RUN: llc < %s -enable-eh -asm-verbose | grep invcont131
|
||||
; PR 1496: tail merge was incorrectly removing this block
|
||||
|
||||
; ModuleID = 'report.1.bc'
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
; PR1495
|
||||
; RUN: llvm-as < %s | llc -march=x86
|
||||
; 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"
|
||||
target triple = "i686-pc-linux-gnu"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: llvm-as < %s | llc -march=x86 -mcpu=i686 | not grep jmp
|
||||
; RUN: llc < %s -march=x86 -mcpu=i686 | not grep jmp
|
||||
; check that branch folding understands FP_REG_KILL is not a branch
|
||||
|
||||
target triple = "i686-pc-linux-gnu"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: llvm-as < %s | llc -march=x86-64 -mattr=+mmx | grep paddusw
|
||||
; RUN: llc < %s -march=x86-64 -mattr=+mmx | grep paddusw
|
||||
@R = external global <1 x i64> ; <<1 x i64>*> [#uses=1]
|
||||
|
||||
define void @foo(<1 x i64> %A, <1 x i64> %B) {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: llvm-as < %s | llc -march=x86-64 -mattr=+sse2
|
||||
; RUN: llc < %s -march=x86-64 -mattr=+sse2
|
||||
|
||||
define void @test() {
|
||||
%tmp1 = call <8 x i16> @llvm.x86.sse2.pmins.w( <8 x i16> zeroinitializer, <8 x i16> bitcast (<4 x i32> < i32 7, i32 7, i32 7, i32 7 > to <8 x i16>) )
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2
|
||||
; RUN: llc < %s -march=x86 -mattr=+sse2
|
||||
|
||||
define void @test() {
|
||||
entry:
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2
|
||||
; RUN: llc < %s -march=x86 -mattr=+sse2
|
||||
|
||||
define void @test(<4 x float>* %arg) {
|
||||
%tmp89 = getelementptr <4 x float>* %arg, i64 3
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
; RUN: llvm-as < %s | llc -mtriple=x86_64-apple-darwin -mattr=+mmx | grep {movd %rsi, %mm0}
|
||||
; RUN: llvm-as < %s | llc -mtriple=x86_64-apple-darwin -mattr=+mmx | grep {movd %rdi, %mm1}
|
||||
; RUN: llvm-as < %s | llc -mtriple=x86_64-apple-darwin -mattr=+mmx | grep {paddusw %mm0, %mm1}
|
||||
; RUN: llc < %s -mtriple=x86_64-apple-darwin -mattr=+mmx | grep {movd %rsi, %mm0}
|
||||
; RUN: llc < %s -mtriple=x86_64-apple-darwin -mattr=+mmx | grep {movd %rdi, %mm1}
|
||||
; RUN: llc < %s -mtriple=x86_64-apple-darwin -mattr=+mmx | grep {paddusw %mm0, %mm1}
|
||||
|
||||
@R = external global <1 x i64> ; <<1 x i64>*> [#uses=1]
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: llvm-as < %s | llc -mtriple=i686-pc-linux-gnu -mcpu=athlon -relocation-model=pic
|
||||
; RUN: llc < %s -mtriple=i686-pc-linux-gnu -mcpu=athlon -relocation-model=pic
|
||||
; PR1545
|
||||
|
||||
@.str97 = external constant [56 x i8] ; <[56 x i8]*> [#uses=1]
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
; RUN: llvm-as < %s | llc -march=x86-64 -mattr=+sse | grep {movq (%rdi), %rax}
|
||||
; RUN: llvm-as < %s | llc -march=x86-64 -mattr=+sse | grep {movq 8(%rdi), %rax}
|
||||
; RUN: llc < %s -march=x86-64 -mattr=+sse | grep {movq (%rdi), %rax}
|
||||
; RUN: llc < %s -march=x86-64 -mattr=+sse | grep {movq 8(%rdi), %rax}
|
||||
define i64 @foo_0(<2 x i64>* %val) {
|
||||
entry:
|
||||
%val12 = getelementptr <2 x i64>* %val, i32 0, i32 0 ; <i64*> [#uses=1]
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: llvm-as < %s | llc -march=x86 | not grep movl
|
||||
; RUN: llc < %s -march=x86 | not grep movl
|
||||
|
||||
define i8 @t(i8 zeroext %x, i8 zeroext %y) zeroext {
|
||||
%tmp2 = add i8 %x, 2
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: llvm-as < %s | llc -mtriple=x86_64-apple-darwin | not grep "movb %ah, %r"
|
||||
; RUN: llc < %s -mtriple=x86_64-apple-darwin | not grep "movb %ah, %r"
|
||||
|
||||
%struct.FILE = type { i8*, i32, i32, i16, i16, %struct.__sbuf, i32, i8*, i32 (i8*)*, i32 (i8*, i8*, i32)*, i64 (i8*, i64, i32)*, i32 (i8*, i8*, i32)*, %struct.__sbuf, %struct.__sFILEX*, i32, [3 x i8], [1 x i8], %struct.__sbuf, i32, [4 x i8], i64 }
|
||||
%struct.PyBoolScalarObject = type { i64, %struct._typeobject*, i8 }
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: llvm-as < %s | llc -march=x86 | grep {movsbl}
|
||||
; RUN: llc < %s -march=x86 | grep {movsbl}
|
||||
|
||||
@X = global i32 0 ; <i32*> [#uses=1]
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: llvm-as < %s | llc -march=x86 | not grep drectve
|
||||
; RUN: llc < %s -march=x86 | not grep drectve
|
||||
; PR1607
|
||||
|
||||
%hlvm_programs_element = type { i8*, i32 (i32, i8**)* }
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: llvm-as < %s | llc -mtriple=i686-apple-darwin | grep "48(%esp)" | count 5
|
||||
; RUN: llc < %s -mtriple=i686-apple-darwin | grep "48(%esp)" | count 5
|
||||
|
||||
%struct..0anon = type { i32 }
|
||||
%struct.rtvec_def = type { i32, [1 x %struct..0anon] }
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: llvm-as < %s | llc -march=x86-64 -enable-eh
|
||||
; RUN: llc < %s -march=x86-64 -enable-eh
|
||||
; PR1632
|
||||
|
||||
define void @_Z1fv() {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: llvm-as < %s | llc -mtriple=x86_64-apple-darwin -x86-asm-syntax=intel | not grep {lea\[\[:space:\]\]R}
|
||||
; RUN: llc < %s -mtriple=x86_64-apple-darwin -x86-asm-syntax=intel | not grep {lea\[\[:space:\]\]R}
|
||||
|
||||
%struct.AGenericCall = type { %struct.AGenericManager*, %struct.ComponentParameters*, i32* }
|
||||
%struct.AGenericManager = type <{ i8 }>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: llvm-as < %s | llc -march=x86 | grep weak | count 2
|
||||
; RUN: llc < %s -march=x86 | grep weak | count 2
|
||||
@__gthrw_pthread_once = alias weak i32 (i32*, void ()*)* @pthread_once ; <i32 (i32*, void ()*)*> [#uses=0]
|
||||
|
||||
declare extern_weak i32 @pthread_once(i32*, void ()*)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: llvm-as < %s | llc -march=x86 -mtriple=i686-apple-darwin -enable-eh | grep {isNullOrNil].eh"} | count 2
|
||||
; RUN: llc < %s -march=x86 -mtriple=i686-apple-darwin -enable-eh | grep {isNullOrNil].eh"} | count 2
|
||||
|
||||
%struct.NSString = type { }
|
||||
%struct._objc__method_prototype_list = type opaque
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 | grep -- -86
|
||||
; RUN: llc < %s -march=x86 -mattr=+sse2 | grep -- -86
|
||||
|
||||
define i16 @f(<4 x float>* %tmp116117.i1061.i) nounwind {
|
||||
entry:
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
; RUN: llvm-as < %s | llc | grep powixf2
|
||||
; RUN: llvm-as < %s | llc | grep fsqrt
|
||||
; RUN: llc < %s | grep powixf2
|
||||
; RUN: llc < %s | grep fsqrt
|
||||
; ModuleID = 'yyy.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: llvm-as < %s | llc -march=x86 | not grep pushf
|
||||
; RUN: llc < %s -march=x86 | not grep pushf
|
||||
|
||||
%struct.gl_texture_image = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i8*, i8* }
|
||||
%struct.gl_texture_object = type { i32, i32, i32, float, [4 x i32], i32, i32, i32, i32, i32, float, [11 x %struct.gl_texture_image*], [1024 x i8], i32, i32, i32, i8, i8*, i8, void (%struct.gl_texture_object*, i32, float*, float*, float*, float*, i8*, i8*, i8*, i8*)*, %struct.gl_texture_object* }
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: llvm-as < %s | llc -march=x86 | grep lea
|
||||
; RUN: llc < %s -march=x86 | grep lea
|
||||
|
||||
%struct.anon = type { [3 x double], double, %struct.node*, [64 x %struct.bnode*], [64 x %struct.bnode*] }
|
||||
%struct.bnode = type { i16, double, [3 x double], i32, i32, [3 x double], [3 x double], [3 x double], double, %struct.bnode*, %struct.bnode* }
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue