1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 20:51:52 +01:00

Eliminate more uses of llvm-as and llvm-dis.

llvm-svn: 81293
This commit is contained in:
Dan Gohman 2009-09-09 00:09:15 +00:00
parent df2896d609
commit 142428ce64
1178 changed files with 1654 additions and 1654 deletions

View File

@ -1,4 +1,4 @@
; RUN: llvm-as %s -o - | opt -basicaa -aa-eval -print-all-alias-modref-info -disable-output |& grep {MayAlias:.*i32\\* %., i32\\* %.} | grep {%x} | grep {%y} ; RUN: opt < %s -basicaa -aa-eval -print-all-alias-modref-info -disable-output |& grep {MayAlias:.*i32\\* %., i32\\* %.} | grep {%x} | grep {%y}
declare i32* @unclear(i32* %a) declare i32* @unclear(i32* %a)

View File

@ -1,6 +1,6 @@
; RUN: llvm-as %s -o - | opt -basicaa -aa-eval -print-all-alias-modref-info -disable-output |& grep {9 no alias} ; RUN: opt < %s -basicaa -aa-eval -print-all-alias-modref-info -disable-output |& grep {9 no alias}
; RUN: llvm-as %s -o - | opt -basicaa -aa-eval -print-all-alias-modref-info -disable-output |& grep {6 may alias} ; RUN: opt < %s -basicaa -aa-eval -print-all-alias-modref-info -disable-output |& grep {6 may alias}
; RUN: llvm-as %s -o - | opt -basicaa -aa-eval -print-all-alias-modref-info -disable-output |& grep {MayAlias:.*i32\\* %Ipointer, i32\\* %Jpointer} ; RUN: opt < %s -basicaa -aa-eval -print-all-alias-modref-info -disable-output |& grep {MayAlias:.*i32\\* %Ipointer, i32\\* %Jpointer}
define void @foo(i32* noalias %p, i32* noalias %q, i32 %i, i32 %j) { define void @foo(i32* noalias %p, i32* noalias %q, i32 %i, i32 %j) {
%Ipointer = getelementptr i32* %p, i32 %i %Ipointer = getelementptr i32* %p, i32 %i

View File

@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -march=arm -mattr=+v6 ; RUN: llc < %s -march=arm -mattr=+v6
%struct.layer_data = type { i32, [2048 x i8], i8*, [16 x i8], i32, i8*, i32, i32, [64 x i32], [64 x i32], [64 x i32], [64 x i32], i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, [12 x [64 x i16]] } %struct.layer_data = type { i32, [2048 x i8], i8*, [16 x i8], i32, i8*, i32, i32, [64 x i32], [64 x i32], [64 x i32], [64 x i32], i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, [12 x [64 x i16]] }
@ld = external global %struct.layer_data* ; <%struct.layer_data**> [#uses=1] @ld = external global %struct.layer_data* ; <%struct.layer_data**> [#uses=1]

View File

@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -march=arm -mattr=+v6,+vfp2 ; RUN: llc < %s -march=arm -mattr=+v6,+vfp2
@quant_coef = external global [6 x [4 x [4 x i32]]] ; <[6 x [4 x [4 x i32]]]*> [#uses=1] @quant_coef = external global [6 x [4 x [4 x i32]]] ; <[6 x [4 x [4 x i32]]]*> [#uses=1]
@dequant_coef = external global [6 x [4 x [4 x i32]]] ; <[6 x [4 x [4 x i32]]]*> [#uses=1] @dequant_coef = external global [6 x [4 x [4 x i32]]] ; <[6 x [4 x [4 x i32]]]*> [#uses=1]

View File

@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -mtriple=arm-apple-darwin -mattr=+v6,+vfp2 ; RUN: llc < %s -mtriple=arm-apple-darwin -mattr=+v6,+vfp2
define fastcc i8* @read_sleb128(i8* %p, i32* %val) { define fastcc i8* @read_sleb128(i8* %p, i32* %val) {
br label %bb br label %bb

View File

@ -1,6 +1,6 @@
; RUN: llvm-as < %s | llc -mtriple=arm-apple-darwin -relocation-model=pic \ ; RUN: llc < %s -mtriple=arm-apple-darwin -relocation-model=pic \
; RUN: -mattr=+v6 | grep r9 ; RUN: -mattr=+v6 | grep r9
; RUN: llvm-as < %s | llc -mtriple=arm-apple-darwin -relocation-model=pic \ ; RUN: llc < %s -mtriple=arm-apple-darwin -relocation-model=pic \
; RUN: -mattr=+v6 -arm-reserve-r9 -ifcvt-limit=0 -stats |& grep asm-printer ; RUN: -mattr=+v6 -arm-reserve-r9 -ifcvt-limit=0 -stats |& grep asm-printer
; | grep 35 ; | grep 35

View File

@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -mtriple=arm-linux-gnueabi ; RUN: llc < %s -mtriple=arm-linux-gnueabi
; PR1257 ; PR1257
%struct.CUMULATIVE_ARGS = type { i32, i32, i32, i32, i32, i32 } %struct.CUMULATIVE_ARGS = type { i32, i32, i32, i32, i32, i32 }

View File

@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -march=arm ; RUN: llc < %s -march=arm
; PR1266 ; PR1266
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-v128:128:128-a0:0:64" 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-v128:128:128-a0:0:64"

View File

@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -march=arm -mtriple=arm-linux-gnueabi ; RUN: llc < %s -march=arm -mtriple=arm-linux-gnueabi
; PR1279 ; PR1279
%struct.rtx_def = type { i16, i8, i8, %struct.u } %struct.rtx_def = type { i16, i8, i8, %struct.u }

View File

@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -march=arm -mtriple=arm-linux-gnueabi ; RUN: llc < %s -march=arm -mtriple=arm-linux-gnueabi
; PR1279 ; PR1279
%struct.CUMULATIVE_ARGS = type { i32, i32, i32, i32, i32, i32 } %struct.CUMULATIVE_ARGS = type { i32, i32, i32, i32, i32, i32 }

View File

@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -march=arm -mtriple=arm-apple-darwin ; RUN: llc < %s -march=arm -mtriple=arm-apple-darwin
%struct.H_TBL = type { [17 x i8], [256 x i8], i32 } %struct.H_TBL = type { [17 x i8], [256 x i8], i32 }
%struct.Q_TBL = type { [64 x i16], i32 } %struct.Q_TBL = type { [64 x i16], i32 }

View File

@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -march=arm | not grep {add.*#0} ; RUN: llc < %s -march=arm | not grep {add.*#0}
define i32 @foo() { define i32 @foo() {
entry: entry:

View File

@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -mtriple=arm-apple-darwin -relocation-model=pic | \ ; RUN: llc < %s -mtriple=arm-apple-darwin -relocation-model=pic | \
; RUN: not grep LPC9 ; RUN: not grep LPC9
%struct.B = type { i32 } %struct.B = type { i32 }

View File

@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -mtriple=arm-apple-darwin -mattr=+v6,+vfp2 ; RUN: llc < %s -mtriple=arm-apple-darwin -mattr=+v6,+vfp2
target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:32-f32:32:32-f64:32:32-v64:64:64-v128:128:128-a0:0:64" target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:32-f32:32:32-f64:32:32-v64:64:64-v128:128:128-a0:0:64"
target triple = "arm-apple-darwin8" target triple = "arm-apple-darwin8"

View File

@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -mtriple=arm-apple-darwin ; RUN: llc < %s -mtriple=arm-apple-darwin
%struct.Connection = type { i32, [10 x i8], i32 } %struct.Connection = type { i32, [10 x i8], i32 }
%struct.IntChunk = type { %struct.cppobjtype, i32, i32*, i32 } %struct.IntChunk = type { %struct.cppobjtype, i32, i32*, i32 }

View File

@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc | not grep 1_0 ; RUN: llc < %s | not grep 1_0
; This used to create an extra branch to 'entry', LBB1_0. ; This used to create an extra branch to 'entry', LBB1_0.
; ModuleID = 'bug.bc' ; ModuleID = 'bug.bc'

View File

@ -1,7 +1,7 @@
; RUN: llvm-as < %s | llc -march=arm -enable-tail-merge | grep bl.*baz | count 1 ; RUN: llc < %s -march=arm -enable-tail-merge | grep bl.*baz | count 1
; RUN: llvm-as < %s | llc -march=arm -enable-tail-merge | grep bl.*quux | count 1 ; RUN: llc < %s -march=arm -enable-tail-merge | grep bl.*quux | count 1
; RUN: llvm-as < %s | llc -march=arm -enable-tail-merge -enable-eh | grep bl.*baz | count 1 ; RUN: llc < %s -march=arm -enable-tail-merge -enable-eh | grep bl.*baz | count 1
; RUN: llvm-as < %s | llc -march=arm -enable-tail-merge -enable-eh | grep bl.*quux | count 1 ; RUN: llc < %s -march=arm -enable-tail-merge -enable-eh | grep bl.*quux | count 1
; Check that calls to baz and quux are tail-merged. ; Check that calls to baz and quux are tail-merged.
; PR1628 ; PR1628

View File

@ -1,7 +1,7 @@
; RUN: llvm-as < %s | llc -march=arm -enable-tail-merge | grep bl.*baz | count 1 ; RUN: llc < %s -march=arm -enable-tail-merge | grep bl.*baz | count 1
; RUN: llvm-as < %s | llc -march=arm -enable-tail-merge | grep bl.*quux | count 1 ; RUN: llc < %s -march=arm -enable-tail-merge | grep bl.*quux | count 1
; RUN: llvm-as < %s | llc -march=arm -enable-tail-merge -enable-eh | grep bl.*baz | count 1 ; RUN: llc < %s -march=arm -enable-tail-merge -enable-eh | grep bl.*baz | count 1
; RUN: llvm-as < %s | llc -march=arm -enable-tail-merge -enable-eh | grep bl.*quux | count 1 ; RUN: llc < %s -march=arm -enable-tail-merge -enable-eh | grep bl.*quux | count 1
; Check that calls to baz and quux are tail-merged. ; Check that calls to baz and quux are tail-merged.
; PR1628 ; PR1628

View File

@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -march=arm -mattr=+v6 ; RUN: llc < %s -march=arm -mattr=+v6
define i32 @test3() { define i32 @test3() {
tail call void asm sideeffect "/* number: ${0:c} */", "i"( i32 1 ) tail call void asm sideeffect "/* number: ${0:c} */", "i"( i32 1 )

View File

@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -march=arm -mtriple=arm-linux-gnueabi ; RUN: llc < %s -march=arm -mtriple=arm-linux-gnueabi
; PR1406 ; PR1406
%struct.AVClass = type { i8*, i8* (i8*)*, %struct.AVOption* } %struct.AVClass = type { i8*, i8* (i8*)*, %struct.AVOption* }

View File

@ -1,11 +1,11 @@
; RUN: llvm-as < %s | llc -march=arm | grep bl.*baz | count 1 ; RUN: llc < %s -march=arm | grep bl.*baz | count 1
; RUN: llvm-as < %s | llc -march=arm | grep bl.*quux | count 1 ; RUN: llc < %s -march=arm | grep bl.*quux | count 1
; RUN: llvm-as < %s | llc -march=arm -enable-tail-merge=0 | grep bl.*baz | count 2 ; RUN: llc < %s -march=arm -enable-tail-merge=0 | grep bl.*baz | count 2
; RUN: llvm-as < %s | llc -march=arm -enable-tail-merge=0 | grep bl.*quux | count 2 ; RUN: llc < %s -march=arm -enable-tail-merge=0 | grep bl.*quux | count 2
; RUN: llvm-as < %s | llc -march=arm -enable-eh | grep bl.*baz | count 1 ; RUN: llc < %s -march=arm -enable-eh | grep bl.*baz | count 1
; RUN: llvm-as < %s | llc -march=arm -enable-eh | grep bl.*quux | count 1 ; RUN: llc < %s -march=arm -enable-eh | grep bl.*quux | count 1
; RUN: llvm-as < %s | llc -march=arm -enable-tail-merge=0 -enable-eh | grep bl.*baz | count 2 ; RUN: llc < %s -march=arm -enable-tail-merge=0 -enable-eh | grep bl.*baz | count 2
; RUN: llvm-as < %s | llc -march=arm -enable-tail-merge=0 -enable-eh | grep bl.*quux | count 2 ; RUN: llc < %s -march=arm -enable-tail-merge=0 -enable-eh | grep bl.*quux | count 2
; Check that tail merging is the default on ARM, and that -enable-tail-merge=0 works. ; Check that tail merging is the default on ARM, and that -enable-tail-merge=0 works.
; PR1628 ; PR1628

View File

@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -march=arm | not grep {str.*\\!} ; RUN: llc < %s -march=arm | not grep {str.*\\!}
%struct.shape_edge_t = type { %struct.shape_edge_t*, %struct.shape_edge_t*, i32, i32, i32, i32 } %struct.shape_edge_t = type { %struct.shape_edge_t*, %struct.shape_edge_t*, i32, i32, i32, i32 }
%struct.shape_path_t = type { %struct.shape_edge_t*, %struct.shape_edge_t*, i32, i32, i32, i32, i32, i32 } %struct.shape_path_t = type { %struct.shape_edge_t*, %struct.shape_edge_t*, i32, i32, i32, i32, i32, i32 }

View File

@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc ; RUN: llc < %s
; PR1424 ; PR1424
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-v128:128:128-a0:0:64" 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-v128:128:128-a0:0:64"

View File

@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -mtriple=arm-apple-darwin -relocation-model=pic -mattr=+v6 ; RUN: llc < %s -mtriple=arm-apple-darwin -relocation-model=pic -mattr=+v6
; PR1609 ; PR1609
%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.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 }

View File

@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -mtriple=arm-linux-gnueabi -regalloc=local ; RUN: llc < %s -mtriple=arm-linux-gnueabi -regalloc=local
; PR1925 ; PR1925
%struct.encode_aux_nearestmatch = type { i32*, i32*, i32*, i32*, i32, i32 } %struct.encode_aux_nearestmatch = type { i32*, i32*, i32*, i32*, i32, i32 }

View File

@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -mtriple=arm-apple-darwin -regalloc=local ; RUN: llc < %s -mtriple=arm-apple-darwin -regalloc=local
; PR1925 ; PR1925
%"struct.kc::impl_Ccode_option" = type { %"struct.kc::impl_abstract_phylum" } %"struct.kc::impl_Ccode_option" = type { %"struct.kc::impl_abstract_phylum" }

View File

@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -march=arm -mattr=+v6 | not grep 255 ; RUN: llc < %s -march=arm -mattr=+v6 | not grep 255
define i32 @main(i32 %argc, i8** %argv) { define i32 @main(i32 %argc, i8** %argv) {
entry: entry:

View File

@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -mtriple=arm-apple-darwin -mattr=+v6,+vfp2 ; RUN: llc < %s -mtriple=arm-apple-darwin -mattr=+v6,+vfp2
@accum = external global { double, double } ; <{ double, double }*> [#uses=1] @accum = external global { double, double } ; <{ double, double }*> [#uses=1]
@.str = external constant [4 x i8] ; <[4 x i8]*> [#uses=1] @.str = external constant [4 x i8] ; <[4 x i8]*> [#uses=1]

View File

@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -mtriple=arm-apple-darwin ; RUN: llc < %s -mtriple=arm-apple-darwin
@numBinsY = external global i32 ; <i32*> [#uses=1] @numBinsY = external global i32 ; <i32*> [#uses=1]

View File

@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -mtriple=arm-apple-darwin ; RUN: llc < %s -mtriple=arm-apple-darwin
%struct.CONTENTBOX = type { i32, i32, i32, i32, i32 } %struct.CONTENTBOX = type { i32, i32, i32, i32, i32 }
%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.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 }

View File

@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -mtriple=arm-apple-darwin ; RUN: llc < %s -mtriple=arm-apple-darwin
declare void @foo(i8*, i8*, i32, i32, i32, i32, i32, i32, i32) declare void @foo(i8*, i8*, i32, i32, i32, i32, i32, i32, i32)

View File

@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -mtriple=arm-apple-darwin ; RUN: llc < %s -mtriple=arm-apple-darwin
%struct.BiContextType = type { i16, i8, i32 } %struct.BiContextType = type { i16, i8, i32 }
%struct.Bitstream = type { i32, i32, i8, i32, i32, i8, i8, i32, i32, i8*, i32 } %struct.Bitstream = type { i32, i32, i8, i32, i32, i8, i8, i32, i32, i8*, i32 }

View File

@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -mtriple=arm-apple-darwin ; RUN: llc < %s -mtriple=arm-apple-darwin
%struct.Decoders = type { i32**, i16***, i16****, i16***, i16**, i8**, i8** } %struct.Decoders = type { i32**, i16***, i16****, i16***, i16**, i8**, i8** }
@decoders = external global %struct.Decoders ; <%struct.Decoders*> [#uses=1] @decoders = external global %struct.Decoders ; <%struct.Decoders*> [#uses=1]

View File

@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -march=arm ; RUN: llc < %s -march=arm
define float @f(float %a, float %b) nounwind { define float @f(float %a, float %b) nounwind {
%tmp = fdiv float %a, %b %tmp = fdiv float %a, %b

View File

@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -march=arm ; RUN: llc < %s -march=arm
; PR2589 ; PR2589
define void @main({ i32 }*) { define void @main({ i32 }*) {

View File

@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -mtriple=arm-apple-darwin -mattr=+v6 -relocation-model=pic | grep comm ; RUN: llc < %s -mtriple=arm-apple-darwin -mattr=+v6 -relocation-model=pic | grep comm
%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.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.__gcov_var = type { %struct.FILE*, i32, i32, i32, i32, i32, i32, [1025 x i32] } %struct.__gcov_var = type { %struct.FILE*, i32, i32, i32, i32, i32, i32, [1025 x i32] }

View File

@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -mtriple=arm-apple-darwin ; RUN: llc < %s -mtriple=arm-apple-darwin
@"\01LC1" = external constant [288 x i8] ; <[288 x i8]*> [#uses=1] @"\01LC1" = external constant [288 x i8] ; <[288 x i8]*> [#uses=1]

View File

@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -mtriple=arm-apple-darwin ; RUN: llc < %s -mtriple=arm-apple-darwin
define void @gcov_exit() nounwind { define void @gcov_exit() nounwind {
entry: entry:

View File

@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -march=arm -mattr=+v6,+vfp2 ; RUN: llc < %s -march=arm -mattr=+v6,+vfp2
define hidden i64 @__muldi3(i64 %u, i64 %v) nounwind { define hidden i64 @__muldi3(i64 %u, i64 %v) nounwind {
entry: entry:

View File

@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -mtriple=arm-apple-darwin9 -stats |& grep asm-printer | grep 164 ; RUN: llc < %s -mtriple=arm-apple-darwin9 -stats |& grep asm-printer | grep 164
%"struct.Adv5::Ekin<3>" = type <{ i8 }> %"struct.Adv5::Ekin<3>" = type <{ i8 }>
%"struct.Adv5::X::Energyflux<3>" = type { double } %"struct.Adv5::X::Energyflux<3>" = type { double }

View File

@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -march=arm -mattr=+v6,+vfp2 ; RUN: llc < %s -march=arm -mattr=+v6,+vfp2
target triple = "arm-apple-darwin9" target triple = "arm-apple-darwin9"
%struct.FILE_POS = type { i8, i8, i16, i32 } %struct.FILE_POS = type { i8, i8, i16, i32 }

View File

@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc ; RUN: llc < %s
; PR3610 ; PR3610
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-s0:0:64-f80:32:32" 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-s0:0:64-f80:32:32"
target triple = "arm-elf" target triple = "arm-elf"

View File

@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -march=arm -mattr=+v6,+vfp2 ; RUN: llc < %s -march=arm -mattr=+v6,+vfp2
target triple = "arm-apple-darwin9" target triple = "arm-apple-darwin9"
@a = external global double ; <double*> [#uses=1] @a = external global double ; <double*> [#uses=1]

View File

@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -mtriple=armv6-apple-darwin9 -mattr=+vfp2 ; RUN: llc < %s -mtriple=armv6-apple-darwin9 -mattr=+vfp2
; rdar://6653182 ; rdar://6653182
%struct.ggBRDF = type { i32 (...)** } %struct.ggBRDF = type { i32 (...)** }

View File

@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -march=arm ; RUN: llc < %s -march=arm
%struct.hit_t = type { %struct.v_t, double } %struct.hit_t = type { %struct.v_t, double }
%struct.node_t = type { %struct.hit_t, %struct.hit_t, i32 } %struct.node_t = type { %struct.hit_t, %struct.hit_t, i32 }

View File

@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -march=arm | grep {swi 107} ; RUN: llc < %s -march=arm | grep {swi 107}
define i32 @_swilseek(i32) nounwind { define i32 @_swilseek(i32) nounwind {
entry: entry:

View File

@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -march=arm ; RUN: llc < %s -march=arm
; PR3795 ; PR3795
define fastcc void @_D3foo3fooFAriZv({ i32, { double, double }* } %d_arg, i32 %x_arg) { define fastcc void @_D3foo3fooFAriZv({ i32, { double, double }* } %d_arg, i32 %x_arg) {

View File

@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -march=arm ; RUN: llc < %s -march=arm
declare i32 @printf(i8*, ...) declare i32 @printf(i8*, ...)

View File

@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -march=arm ; RUN: llc < %s -march=arm
define void @execute_shader(<4 x float>* %OUT, <4 x float>* %IN, <4 x float>* %CONST) { define void @execute_shader(<4 x float>* %OUT, <4 x float>* %IN, <4 x float>* %CONST) {
entry: entry:

View File

@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -march=arm ; RUN: llc < %s -march=arm
; PR3954 ; PR3954
define void @foo(...) nounwind { define void @foo(...) nounwind {

View File

@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -mtriple=arm-linuxeabi-unknown-gnu -mattr=+v6 ; RUN: llc < %s -mtriple=arm-linuxeabi-unknown-gnu -mattr=+v6
; PR4166 ; PR4166
%"byte[]" = type { i32, i8* } %"byte[]" = type { i32, i8* }

View File

@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -mtriple=armv5-unknown-linux-gnueabi -O0 -regalloc=local ; RUN: llc < %s -mtriple=armv5-unknown-linux-gnueabi -O0 -regalloc=local
; PR4100 ; PR4100
@.str = external constant [30 x i8] ; <[30 x i8]*> [#uses=1] @.str = external constant [30 x i8] ; <[30 x i8]*> [#uses=1]

View File

@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -march=arm ; RUN: llc < %s -march=arm
%struct.List = type { %struct.List*, i32 } %struct.List = type { %struct.List*, i32 }
@Node5 = external constant %struct.List ; <%struct.List*> [#uses=1] @Node5 = external constant %struct.List ; <%struct.List*> [#uses=1]
@"\01LC" = external constant [7 x i8] ; <[7 x i8]*> [#uses=1] @"\01LC" = external constant [7 x i8] ; <[7 x i8]*> [#uses=1]

View File

@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -march=arm | grep swp ; RUN: llc < %s -march=arm | grep swp
; PR4091 ; PR4091
define void @foo(i32 %i, i32* %p) nounwind { define void @foo(i32 %i, i32* %p) nounwind {

View File

@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -mtriple=arm-apple-darwin -relocation-model=pic -mattr=+v6,+vfp2 ; RUN: llc < %s -mtriple=arm-apple-darwin -relocation-model=pic -mattr=+v6,+vfp2
@"\01LC" = external constant [15 x i8] ; <[15 x i8]*> [#uses=1] @"\01LC" = external constant [15 x i8] ; <[15 x i8]*> [#uses=1]

View File

@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -mtriple=arm-apple-darwin -mattr=+v6 ; RUN: llc < %s -mtriple=arm-apple-darwin -mattr=+v6
%struct.anon = type { i16, i16 } %struct.anon = type { i16, i16 }
%struct.cab_archive = type { i32, i16, i16, i16, i16, i8, %struct.cab_folder*, %struct.cab_file* } %struct.cab_archive = type { i32, i16, i16, i16, i16, i8, %struct.cab_folder*, %struct.cab_file* }

View File

@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -mtriple=armv6-apple-darwin ; RUN: llc < %s -mtriple=armv6-apple-darwin
type { i32, i32, %struct.D_Sym**, [3 x %struct.D_Sym*] } ; type %0 type { i32, i32, %struct.D_Sym**, [3 x %struct.D_Sym*] } ; type %0
type { i32, %struct.D_Reduction** } ; type %1 type { i32, %struct.D_Reduction** } ; type %1

View File

@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -mtriple=armv6-apple-darwin ; RUN: llc < %s -mtriple=armv6-apple-darwin
%struct.term = type { i32, i32, i32 } %struct.term = type { i32, i32, i32 }

View File

@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -mtriple=armv6-eabi -mattr=+vfp2 -float-abi=hard ; RUN: llc < %s -mtriple=armv6-eabi -mattr=+vfp2 -float-abi=hard
; PR4419 ; PR4419
define float @__ieee754_acosf(float %x) nounwind { define float @__ieee754_acosf(float %x) nounwind {

View File

@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -mtriple=armv6-apple-darwin ; RUN: llc < %s -mtriple=armv6-apple-darwin
%struct.rtunion = type { i64 } %struct.rtunion = type { i64 }
%struct.rtx_def = type { i16, i8, i8, [1 x %struct.rtunion] } %struct.rtx_def = type { i16, i8, i8, [1 x %struct.rtunion] }

View File

@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -march=arm -mtriple=armv6-apple-darwin9 ; RUN: llc < %s -march=arm -mtriple=armv6-apple-darwin9
@nn = external global i32 ; <i32*> [#uses=1] @nn = external global i32 ; <i32*> [#uses=1]
@al_len = external global i32 ; <i32*> [#uses=2] @al_len = external global i32 ; <i32*> [#uses=2]

View File

@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -march=arm -mtriple=armv6-apple-darwin9 ; RUN: llc < %s -march=arm -mtriple=armv6-apple-darwin9
@no_mat = external global i32 ; <i32*> [#uses=1] @no_mat = external global i32 ; <i32*> [#uses=1]
@no_mis = external global i32 ; <i32*> [#uses=2] @no_mis = external global i32 ; <i32*> [#uses=2]

View File

@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -march=arm -mtriple=armv6-apple-darwin9 ; RUN: llc < %s -march=arm -mtriple=armv6-apple-darwin9
@JJ = external global i32* ; <i32**> [#uses=1] @JJ = external global i32* ; <i32**> [#uses=1]

View File

@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -march=arm -mtriple=armv6-apple-darwin9 ; RUN: llc < %s -march=arm -mtriple=armv6-apple-darwin9
@r = external global i32 ; <i32*> [#uses=1] @r = external global i32 ; <i32*> [#uses=1]
@qr = external global i32 ; <i32*> [#uses=1] @qr = external global i32 ; <i32*> [#uses=1]

View File

@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -march=arm -mtriple=armv6-apple-darwin9 ; RUN: llc < %s -march=arm -mtriple=armv6-apple-darwin9
@XX = external global i32* ; <i32**> [#uses=1] @XX = external global i32* ; <i32**> [#uses=1]

View File

@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -march=arm -mtriple=armv6-apple-darwin9 ; RUN: llc < %s -march=arm -mtriple=armv6-apple-darwin9
@qr = external global i32 ; <i32*> [#uses=1] @qr = external global i32 ; <i32*> [#uses=1]
@II = external global i32* ; <i32**> [#uses=1] @II = external global i32* ; <i32**> [#uses=1]

View File

@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -march=arm -mattr=+v6 ; RUN: llc < %s -march=arm -mattr=+v6
define void @test(i8* %x) nounwind { define void @test(i8* %x) nounwind {
entry: entry:

View File

@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -mtriple=armv6-apple-darwin10 -mattr=+vfp2 | grep fcmpezd | count 13 ; RUN: llc < %s -mtriple=armv6-apple-darwin10 -mattr=+vfp2 | grep fcmpezd | count 13
%struct.EDGE_PAIR = type { %struct.edge_rec*, %struct.edge_rec* } %struct.EDGE_PAIR = type { %struct.edge_rec*, %struct.edge_rec* }
%struct.VEC2 = type { double, double, double } %struct.VEC2 = type { double, double, double }

View File

@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -mtriple=armv6-apple-darwin10 ; RUN: llc < %s -mtriple=armv6-apple-darwin10
%struct.cli_ac_alt = type { i8, i8*, i16, i16, %struct.cli_ac_alt* } %struct.cli_ac_alt = type { i8, i8*, i16, i16, %struct.cli_ac_alt* }
%struct.cli_ac_node = type { i8, i8, %struct.cli_ac_patt*, %struct.cli_ac_node**, %struct.cli_ac_node* } %struct.cli_ac_node = type { i8, i8, %struct.cli_ac_patt*, %struct.cli_ac_node**, %struct.cli_ac_node* }

View File

@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -march=arm ; RUN: llc < %s -march=arm
%struct.cli_ac_alt = type { i8, i8*, i16, i16, %struct.cli_ac_alt* } %struct.cli_ac_alt = type { i8, i8*, i16, i16, %struct.cli_ac_alt* }
%struct.cli_ac_node = type { i8, i8, %struct.cli_ac_patt*, %struct.cli_ac_node**, %struct.cli_ac_node* } %struct.cli_ac_node = type { i8, i8, %struct.cli_ac_patt*, %struct.cli_ac_node**, %struct.cli_ac_node* }

View File

@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -mtriple=armv7-apple-darwin10 -mattr=+vfp3 ; RUN: llc < %s -mtriple=armv7-apple-darwin10 -mattr=+vfp3
@a = external global double ; <double*> [#uses=1] @a = external global double ; <double*> [#uses=1]

View File

@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -march=arm -mattr=+neon ; RUN: llc < %s -march=arm -mattr=+neon
; PR4657 ; PR4657
target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:32-f32:32:32-f64:32:32-v64:64:64-v128:128:128-a0:0:64" target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:32-f32:32:32-f64:32:32-v64:64:64-v128:128:128-a0:0:64"

View File

@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -mtriple=armv6-elf ; RUN: llc < %s -mtriple=armv6-elf
; PR4528 ; PR4528
target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:32-f32:32:32-f64:32:32-v64:64:64-v128:128:128-a0:0:64" target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:32-f32:32:32-f64:32:32-v64:64:64-v128:128:128-a0:0:64"

View File

@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -mtriple=armv6-elf ; RUN: llc < %s -mtriple=armv6-elf
; PR4528 ; PR4528
define arm_aapcscc i32 @file_read_actor(i32 %desc, i32 %page, i32 %offset, i32 %size) nounwind optsize { define arm_aapcscc i32 @file_read_actor(i32 %desc, i32 %page, i32 %offset, i32 %size) nounwind optsize {

View File

@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -march=arm ; RUN: llc < %s -march=arm
; PR4528 ; PR4528
; Inline asm is allowed to contain operands "=&r", "0". ; Inline asm is allowed to contain operands "=&r", "0".

View File

@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -march=arm ; RUN: llc < %s -march=arm
; PR4716 ; PR4716
define arm_aapcscc void @_start() nounwind naked { define arm_aapcscc void @_start() nounwind naked {

View File

@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -march=arm -mattr=+vfp2 -mcpu=cortex-a8 -disable-post-RA-scheduler=0 -avoid-hazards ; RUN: llc < %s -march=arm -mattr=+vfp2 -mcpu=cortex-a8 -disable-post-RA-scheduler=0 -avoid-hazards
; ModuleID = '<stdin>' ; ModuleID = '<stdin>'
target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:32-f32:32:32-f64:32:32-v64:64:64-v128:128:128-a0:0:64" target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:32-f32:32:32-f64:32:32-v64:64:64-v128:128:128-a0:0:64"

View File

@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -asm-verbose=false -O3 -relocation-model=pic -disable-fp-elim -mtriple=thumbv7-apple-darwin -mcpu=cortex-a8 -disable-post-RA-scheduler=0 -avoid-hazards ; RUN: llc < %s -asm-verbose=false -O3 -relocation-model=pic -disable-fp-elim -mtriple=thumbv7-apple-darwin -mcpu=cortex-a8 -disable-post-RA-scheduler=0 -avoid-hazards
; ModuleID = '<stdin>' ; ModuleID = '<stdin>'
target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:32-f32:32:32-f64:32:32-v64:64:64-v128:128:128-a0:0:64" target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:32-f32:32:32-f64:32:32-v64:64:64-v128:128:128-a0:0:64"

View File

@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -asm-verbose=false -O3 -relocation-model=pic -disable-fp-elim -mtriple=thumbv7-apple-darwin -mcpu=cortex-a8 -disable-post-RA-scheduler=0 -avoid-hazards ; RUN: llc < %s -asm-verbose=false -O3 -relocation-model=pic -disable-fp-elim -mtriple=thumbv7-apple-darwin -mcpu=cortex-a8 -disable-post-RA-scheduler=0 -avoid-hazards
; ModuleID = '<stdin>' ; ModuleID = '<stdin>'
target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:32-f32:32:32-f64:32:32-v64:64:64-v128:128:128-a0:0:64" target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:32-f32:32:32-f64:32:32-v64:64:64-v128:128:128-a0:0:64"

View File

@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -asm-verbose=false -O3 -relocation-model=pic -disable-fp-elim -mtriple=thumbv7-apple-darwin -mcpu=cortex-a8 -disable-post-RA-scheduler=0 -avoid-hazards ; RUN: llc < %s -asm-verbose=false -O3 -relocation-model=pic -disable-fp-elim -mtriple=thumbv7-apple-darwin -mcpu=cortex-a8 -disable-post-RA-scheduler=0 -avoid-hazards
; ModuleID = '<stdin>' ; ModuleID = '<stdin>'
target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:32-f32:32:32-f64:32:32-v64:64:64-v128:128:128-a0:0:64" target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:32-f32:32:32-f64:32:32-v64:64:64-v128:128:128-a0:0:64"

View File

@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -march=arm -mtriple=arm-apple-darwin | FileCheck %s ; RUN: llc < %s -march=arm -mtriple=arm-apple-darwin | FileCheck %s
; ModuleID = '/Volumes/MacOS9/tests/WebKit/JavaScriptCore/profiler/ProfilerServer.mm' ; ModuleID = '/Volumes/MacOS9/tests/WebKit/JavaScriptCore/profiler/ProfilerServer.mm'

View File

@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -mattr=+neon | not grep fldmfdd ; RUN: llc < %s -mattr=+neon | not grep fldmfdd
target datalayout = "e-p:32:32:32-i1:8:32-i8:8:32-i16:16:32-i32:32:32-i64:32:32-f32:32:32-f64:32:32-v64:64:64-v128:128:128-a0:0:32" target datalayout = "e-p:32:32:32-i1:8:32-i8:8:32-i16:16:32-i32:32:32-i64:32:32-f32:32:32-f64:32:32-v64:64:64-v128:128:128-a0:0:32"
target triple = "thumbv7-elf" target triple = "thumbv7-elf"

View File

@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -mattr=+neon | not grep fldmfdd ; RUN: llc < %s -mattr=+neon | not grep fldmfdd
target datalayout = "e-p:32:32:32-i1:8:32-i8:8:32-i16:16:32-i32:32:32-i64:32:32-f32:32:32-f64:32:32-v64:64:64-v128:128:128-a0:0:32" target datalayout = "e-p:32:32:32-i1:8:32-i8:8:32-i16:16:32-i32:32:32-i64:32:32-f32:32:32-f64:32:32-v64:64:64-v128:128:128-a0:0:32"
target triple = "thumbv7-elf" target triple = "thumbv7-elf"

View File

@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -mattr=+neon ; RUN: llc < %s -mattr=+neon
target datalayout = "e-p:32:32:32-i1:8:32-i8:8:32-i16:16:32-i32:32:32-i64:32:32-f32:32:32-f64:32:32-v64:64:64-v128:128:128-a0:0:32" target datalayout = "e-p:32:32:32-i1:8:32-i8:8:32-i16:16:32-i32:32:32-i64:32:32-f32:32:32-f64:32:32-v64:64:64-v128:128:128-a0:0:32"
target triple = "thumbv7-elf" target triple = "thumbv7-elf"

View File

@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -mattr=+neon ; RUN: llc < %s -mattr=+neon
target datalayout = "e-p:32:32:32-i1:8:32-i8:8:32-i16:16:32-i32:32:32-i64:32:32-f32:32:32-f64:32:32-v64:64:64-v128:128:128-a0:0:32" target datalayout = "e-p:32:32:32-i1:8:32-i8:8:32-i16:16:32-i32:32:32-i64:32:32-f32:32:32-f64:32:32-v64:64:64-v128:128:128-a0:0:32"
target triple = "thumbv7-elf" target triple = "thumbv7-elf"

View File

@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -mtriple=arm-apple-darwin9 -march=arm -f | FileCheck %s ; RUN: llc < %s -mtriple=arm-apple-darwin9 -march=arm -f | FileCheck %s
%struct.A = type { i32* } %struct.A = type { i32* }

View File

@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -march=arm -mattr=+neon | FileCheck %s ; RUN: llc < %s -march=arm -mattr=+neon | FileCheck %s
; pr4843 ; pr4843
define <4 x i16> @v2regbug(<4 x i16>* %B) nounwind { define <4 x i16> @v2regbug(<4 x i16>* %B) nounwind {
;CHECK: v2regbug: ;CHECK: v2regbug:

View File

@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -march=arm -stats |& grep asm-printer | grep 4 ; RUN: llc < %s -march=arm -stats |& grep asm-printer | grep 4
define i32 @t1(i32 %a) { define i32 @t1(i32 %a) {
%b = mul i32 %a, 9 %b = mul i32 %a, 9

View File

@ -1,9 +1,9 @@
; RUN: llvm-as < %s | llc -march=arm | grep align.*1 | count 1 ; RUN: llc < %s -march=arm | grep align.*1 | count 1
; RUN: llvm-as < %s | llc -mtriple=arm-linux-gnueabi | \ ; RUN: llc < %s -mtriple=arm-linux-gnueabi | \
; RUN: grep align.*2 | count 2 ; RUN: grep align.*2 | count 2
; RUN: llvm-as < %s | llc -mtriple=arm-linux-gnueabi | \ ; RUN: llc < %s -mtriple=arm-linux-gnueabi | \
; RUN: grep align.*3 | count 2 ; RUN: grep align.*3 | count 2
; RUN: llvm-as < %s | llc -mtriple=arm-apple-darwin | \ ; RUN: llc < %s -mtriple=arm-apple-darwin | \
; RUN: grep align.*2 | count 4 ; RUN: grep align.*2 | count 4
@a = global i1 true @a = global i1 true

View File

@ -1,6 +1,6 @@
; RUN: llvm-as < %s | llc -march=arm -mtriple=arm-linux-gnu | \ ; RUN: llc < %s -march=arm -mtriple=arm-linux-gnu | \
; RUN: grep {mov r11, sp} ; RUN: grep {mov r11, sp}
; RUN: llvm-as < %s | llc -march=arm -mtriple=arm-linux-gnu | \ ; RUN: llc < %s -march=arm -mtriple=arm-linux-gnu | \
; RUN: grep {mov sp, r11} ; RUN: grep {mov sp, r11}
define void @f(i32 %a) { define void @f(i32 %a) {

View File

@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -march=arm ; RUN: llc < %s -march=arm
define void @f(i32 %a, i32 %b, i32 %c, i32 %d, i32 %e) { define void @f(i32 %a, i32 %b, i32 %c, i32 %d, i32 %e) {
entry: entry:

View File

@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -mtriple=arm-linux-gnueabi | not grep r3 ; RUN: llc < %s -mtriple=arm-linux-gnueabi | not grep r3
; PR4059 ; PR4059
define i32 @f(i64 %z, i32 %a, double %b) { define i32 @f(i64 %z, i32 %a, double %b) {

View File

@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llc -mtriple=arm-linux-gnueabi | not grep r3 ; RUN: llc < %s -mtriple=arm-linux-gnueabi | not grep r3
; PR4058 ; PR4058
define i32 @f(i64 %z, i32 %a, i64 %b) { define i32 @f(i64 %z, i32 %a, i64 %b) {

View File

@ -1,6 +1,6 @@
; RUN: llvm-as < %s | llc -mtriple=arm-linux-gnueabi | \ ; RUN: llc < %s -mtriple=arm-linux-gnueabi | \
; RUN: grep {mov r0, r2} | count 1 ; RUN: grep {mov r0, r2} | count 1
; RUN: llvm-as < %s | llc -mtriple=arm-apple-darwin | \ ; RUN: llc < %s -mtriple=arm-apple-darwin | \
; RUN: grep {mov r0, r1} | count 1 ; RUN: grep {mov r0, r1} | count 1
define i32 @f(i32 %a, i64 %b) { define i32 @f(i32 %a, i64 %b) {

View File

@ -1,5 +1,5 @@
; RUN: llvm-as < %s | llc -mtriple=arm-linux-gnueabi ; RUN: llc < %s -mtriple=arm-linux-gnueabi
; RUN: llvm-as < %s | llc -mtriple=arm-apple-darwin ; RUN: llc < %s -mtriple=arm-apple-darwin
define i32 @f(i32 %a, i128 %b) { define i32 @f(i32 %a, i128 %b) {
%tmp = call i32 @g(i128 %b) %tmp = call i32 @g(i128 %b)

View File

@ -1,5 +1,5 @@
; RUN: llvm-as < %s | llc -mtriple=arm-linux-gnueabi ; RUN: llc < %s -mtriple=arm-linux-gnueabi
; RUN: llvm-as < %s | llc -mtriple=arm-apple-darwin ; RUN: llc < %s -mtriple=arm-apple-darwin
define i64 @f(i32 %a, i128 %b) { define i64 @f(i32 %a, i128 %b) {
%tmp = call i64 @g(i128 %b) %tmp = call i64 @g(i128 %b)

View File

@ -1,5 +1,5 @@
; RUN: llvm-as < %s | llc -mtriple=arm-linux-gnueabi ; RUN: llc < %s -mtriple=arm-linux-gnueabi
; RUN: llvm-as < %s | llc -mtriple=arm-apple-darwin ; RUN: llc < %s -mtriple=arm-apple-darwin
define float @f(i32 %a, i128 %b) { define float @f(i32 %a, i128 %b) {
%tmp = call float @g(i128 %b) %tmp = call float @g(i128 %b)

View File

@ -1,5 +1,5 @@
; RUN: llvm-as < %s | llc -mtriple=arm-linux-gnueabi ; RUN: llc < %s -mtriple=arm-linux-gnueabi
; RUN: llvm-as < %s | llc -mtriple=arm-apple-darwin ; RUN: llc < %s -mtriple=arm-apple-darwin
define double @f(i32 %a, i128 %b) { define double @f(i32 %a, i128 %b) {
%tmp = call double @g(i128 %b) %tmp = call double @g(i128 %b)

View File

@ -1,5 +1,5 @@
; RUN: llvm-as < %s | llc -mtriple=arm-linux-gnueabi ; RUN: llc < %s -mtriple=arm-linux-gnueabi
; RUN: llvm-as < %s | llc -mtriple=arm-apple-darwin ; RUN: llc < %s -mtriple=arm-apple-darwin
define i128 @f(i32 %a, i128 %b) { define i128 @f(i32 %a, i128 %b) {
%tmp = call i128 @g(i128 %b) %tmp = call i128 @g(i128 %b)

View File

@ -1,5 +1,5 @@
; RUN: llvm-as < %s | llc -mtriple=arm-linux-gnueabi ; RUN: llc < %s -mtriple=arm-linux-gnueabi
; RUN: llvm-as < %s | llc -mtriple=arm-apple-darwin ; RUN: llc < %s -mtriple=arm-apple-darwin
define double @f(i32 %a1, i32 %a2, i32 %a3, i32 %a4, i32 %a5, double %b) { define double @f(i32 %a1, i32 %a2, i32 %a3, i32 %a4, i32 %a5, double %b) {
%tmp = call double @g(i32 %a2, i32 %a3, i32 %a4, i32 %a5, double %b) %tmp = call double @g(i32 %a2, i32 %a3, i32 %a4, i32 %a5, double %b)

Some files were not shown because too many files have changed in this diff Show More