Convert more tests to avoid llvm-as.
authorDan Gohman <gohman@apple.com>
Fri, 11 Sep 2009 18:36:27 +0000 (18:36 +0000)
committerDan Gohman <gohman@apple.com>
Fri, 11 Sep 2009 18:36:27 +0000 (18:36 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81545 91177308-0d34-0410-b5e6-96231b3b80d8

86 files changed:
test/CodeGen/ARM/aliases.ll
test/CodeGen/ARM/ifcvt6.ll
test/CodeGen/ARM/ifcvt7.ll
test/CodeGen/ARM/ifcvt8.ll
test/CodeGen/ARM/load-global.ll
test/CodeGen/CellSPU/and_ops.ll
test/CodeGen/CellSPU/call.ll
test/CodeGen/CellSPU/call_indirect.ll
test/CodeGen/CellSPU/ctpop.ll
test/CodeGen/CellSPU/dp_farith.ll
test/CodeGen/CellSPU/eqv.ll
test/CodeGen/CellSPU/extract_elt.ll
test/CodeGen/CellSPU/fcmp32.ll
test/CodeGen/CellSPU/fcmp64.ll
test/CodeGen/CellSPU/fdiv.ll
test/CodeGen/CellSPU/fneg-fabs.ll
test/CodeGen/CellSPU/i64ops.ll
test/CodeGen/CellSPU/i8ops.ll
test/CodeGen/CellSPU/icmp16.ll
test/CodeGen/CellSPU/icmp32.ll
test/CodeGen/CellSPU/icmp64.ll
test/CodeGen/CellSPU/icmp8.ll
test/CodeGen/CellSPU/immed16.ll
test/CodeGen/CellSPU/immed32.ll
test/CodeGen/CellSPU/immed64.ll
test/CodeGen/CellSPU/int2fp.ll
test/CodeGen/CellSPU/intrinsics_branch.ll
test/CodeGen/CellSPU/intrinsics_float.ll
test/CodeGen/CellSPU/intrinsics_logical.ll
test/CodeGen/CellSPU/loads.ll
test/CodeGen/CellSPU/mul_ops.ll
test/CodeGen/CellSPU/nand.ll
test/CodeGen/CellSPU/or_ops.ll
test/CodeGen/CellSPU/rotate_ops.ll
test/CodeGen/CellSPU/select_bits.ll
test/CodeGen/CellSPU/sext128.ll
test/CodeGen/CellSPU/shift_ops.ll
test/CodeGen/CellSPU/sp_farith.ll
test/CodeGen/CellSPU/stores.ll
test/CodeGen/CellSPU/struct_1.ll
test/CodeGen/CellSPU/trunc.ll
test/CodeGen/CellSPU/vec_const.ll
test/CodeGen/CellSPU/vecinsert.ll
test/CodeGen/Generic/2002-04-14-UnexpectedUnsignedType.ll
test/CodeGen/Generic/spillccr.ll
test/CodeGen/PowerPC/2006-04-05-splat-ish.ll
test/CodeGen/PowerPC/2006-10-11-combiner-aa-regression.ll
test/CodeGen/PowerPC/Frames-small.ll
test/CodeGen/PowerPC/buildvec_canonicalize.ll
test/CodeGen/PowerPC/fsqrt.ll
test/CodeGen/PowerPC/seteq-0.ll
test/CodeGen/PowerPC/stfiwx.ll
test/CodeGen/SPARC/ctpop.ll
test/CodeGen/Thumb2/load-global.ll
test/CodeGen/X86/2006-04-27-ISelFoldingBug.ll
test/CodeGen/X86/2006-05-02-InstrSched1.ll
test/CodeGen/X86/2006-05-08-InstrSched.ll
test/CodeGen/X86/aliases.ll
test/CodeGen/X86/extractelement-from-arg.ll
test/CodeGen/X86/extractelement-load.ll
test/CodeGen/X86/fabs.ll
test/CodeGen/X86/fast-cc-callee-pops.ll
test/CodeGen/X86/fp-stack-ret.ll
test/CodeGen/X86/illegal-insert.ll
test/CodeGen/X86/sincos.ll
test/CodeGen/X86/sse-load-ret.ll
test/CodeGen/X86/sse_reload_fold.ll
test/CodeGen/X86/x86-64-mem.ll
test/CodeGen/X86/x86-64-pic-1.ll
test/CodeGen/X86/x86-64-pic-10.ll
test/CodeGen/X86/x86-64-pic-11.ll
test/CodeGen/X86/x86-64-pic-2.ll
test/CodeGen/X86/x86-64-pic-3.ll
test/CodeGen/X86/x86-64-pic-4.ll
test/CodeGen/X86/x86-64-pic-5.ll
test/CodeGen/X86/x86-64-pic-6.ll
test/CodeGen/X86/x86-64-pic-7.ll
test/CodeGen/X86/x86-64-pic-8.ll
test/CodeGen/X86/x86-64-pic-9.ll
test/Transforms/PredicateSimplifier/2006-10-22-IntOr.ll
test/Transforms/PredicateSimplifier/2006-10-25-AddSetCC.ll
test/Transforms/PredicateSimplifier/predsimplify.ll
test/Transforms/Reassociate/mul-factor3.ll
test/Transforms/Reassociate/mulfactor2.ll
test/Transforms/Reassociate/shift-factor.ll
test/Transforms/TailCallElim/ackermann.ll

index ea39da8332c2b555e29df5658916bc0d98f7b0a0..b2c03147740bad71d0e5638eced7b9bbe01d0844 100644 (file)
@@ -1,5 +1,4 @@
-; RUN: llvm-as < %s | \
-; RUN:   llc -mtriple=arm-linux-gnueabi -o %t
+; RUN: llc < %s -mtriple=arm-linux-gnueabi -o %t
 ; RUN: grep set %t   | count 5
 ; RUN: grep globl %t | count 4
 ; RUN: grep weak %t  | count 1
index 63c4a0819dbf3496486d2a34b908a8bb047ad784..58241157580cc1467a9990291070ec13ad176edb 100644 (file)
@@ -1,10 +1,6 @@
-; RUN: llvm-as < %s | \
-; RUN:   llc -march=arm -mtriple=arm-apple-darwin
-; RUN: llvm-as < %s | \
-; RUN:   llc -march=arm -mtriple=arm-apple-darwin | \
+; RUN: llc < %s -march=arm -mtriple=arm-apple-darwin | \
 ; RUN:   grep cmpne | count 1
-; RUN: llvm-as < %s | \
-; RUN:   llc -march=arm -mtriple=arm-apple-darwin | \
+; RUN: llc < %s -march=arm -mtriple=arm-apple-darwin | \
 ; RUN:   grep ldmhi | count 1
 
 define void @foo(i32 %X, i32 %Y) {
index 6bb4b5609a580be160246cc70f3f2f77825d1245..f9cf88f7292e58b69a5827e2d00b301c6a26c832 100644 (file)
@@ -1,13 +1,8 @@
-; RUN: llvm-as < %s | \
-; RUN:   llc -march=arm -mtriple=arm-apple-darwin
-; RUN: llvm-as < %s | \
-; RUN:   llc -march=arm -mtriple=arm-apple-darwin | \
+; RUN: llc < %s -march=arm -mtriple=arm-apple-darwin | \
 ; RUN:   grep cmpeq | count 1
-; RUN: llvm-as < %s | \
-; RUN:   llc -march=arm -mtriple=arm-apple-darwin | \
+; RUN: llc < %s -march=arm -mtriple=arm-apple-darwin | \
 ; RUN:   grep moveq | count 1
-; RUN: llvm-as < %s | \
-; RUN:   llc -march=arm -mtriple=arm-apple-darwin | \
+; RUN: llc < %s -march=arm -mtriple=arm-apple-darwin | \
 ; RUN:   grep ldmeq | count 1
 ; FIXME: Need post-ifcvt branch folding to get rid of the extra br at end of BB1.
 
index 85bd8c7bf1fc833873b3a50a48f036512b6e0d17..6cb8e7bb69fd6d4914b6a043c71d4f5a65aa8e73 100644 (file)
@@ -1,7 +1,4 @@
-; RUN: llvm-as < %s | \
-; RUN:   llc -march=arm -mtriple=arm-apple-darwin
-; RUN: llvm-as < %s | \
-; RUN:   llc -march=arm -mtriple=arm-apple-darwin | \
+; RUN: llc < %s -march=arm -mtriple=arm-apple-darwin | \
 ; RUN:   grep ldmne | count 1
 
        %struct.SString = type { i8*, i32, i32 }
index 8896ead5a51cd1cc0bc37b8836bcd03b1c4d24f5..56a4a477f510cd817f6d08ecba23a8b7ddad8db6 100644 (file)
@@ -1,14 +1,10 @@
-; RUN: llvm-as < %s | \
-; RUN:   llc -mtriple=arm-apple-darwin -relocation-model=static | \
+; RUN: llc < %s -mtriple=arm-apple-darwin -relocation-model=static | \
 ; RUN:   not grep {L_G\$non_lazy_ptr}
-; RUN: llvm-as < %s | \
-; RUN:   llc -mtriple=arm-apple-darwin -relocation-model=dynamic-no-pic | \
+; RUN: llc < %s -mtriple=arm-apple-darwin -relocation-model=dynamic-no-pic | \
 ; RUN:   grep {L_G\$non_lazy_ptr} | count 2
-; RUN: llvm-as < %s | \
-; RUN:   llc -mtriple=arm-apple-darwin -relocation-model=pic | \
+; RUN: llc < %s -mtriple=arm-apple-darwin -relocation-model=pic | \
 ; RUN:   grep {ldr.*pc} | count 1
-; RUN: llvm-as < %s | \
-; RUN:   llc -mtriple=arm-linux-gnueabi -relocation-model=pic | \
+; RUN: llc < %s -mtriple=arm-linux-gnueabi -relocation-model=pic | \
 ; RUN:   grep {GOT} | count 1
 
 @G = external global i32
index a18b6f8d05fc46566fcc20670f34375dca3fc055..139e97b967a731df9e3f84eda9e00484caf81810 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as -o - %s | llc -march=cellspu > %t1.s
+; RUN: llc < %s -march=cellspu > %t1.s
 ; RUN: grep and    %t1.s | count 234
 ; RUN: grep andc   %t1.s | count 85
 ; RUN: grep andi   %t1.s | count 37
index a305a235404185f3279ccc70e3aa931635d366a8..960d2feadeda4c9676deed76f431b3a481b09434 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as -o - %s | llc -march=cellspu > %t1.s
+; RUN: llc < %s -march=cellspu > %t1.s
 ; RUN: grep brsl    %t1.s | count 1
 ; RUN: grep brasl   %t1.s | count 1
 ; RUN: grep stqd    %t1.s | count 80
index 9be714ebc9b8a409226e2e7ad644f0b0521b0175..639c794424f38ae882fc906980207a81d378bb92 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llvm-as -o - %s | llc -march=cellspu > %t1.s
-; RUN: llvm-as -o - %s | llc -march=cellspu -mattr=large_mem > %t2.s
+; RUN: llc < %s -march=cellspu > %t1.s
+; RUN: llc < %s -march=cellspu -mattr=large_mem > %t2.s
 ; RUN: grep bisl    %t1.s | count 7
 ; RUN: grep ila     %t1.s | count 1
 ; RUN: grep rotqby  %t1.s | count 6
index 3c7ee7aeea2bb1a834bbd9c8ac18934fd185c478..e1a6cd829260f77aa2b92c20ce7bfc463c3b7ab4 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as -o - %s | llc -march=cellspu > %t1.s
+; RUN: llc < %s -march=cellspu > %t1.s
 ; RUN: grep cntb    %t1.s | count 3
 ; RUN: grep andi    %t1.s | count 3
 ; RUN: grep rotmi   %t1.s | count 2
index d4802ae8f545b86a2100365043eb378870266c31..b0a372beba0de0760889da3556067a0be4db81e3 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as -o - %s | llc -march=cellspu > %t1.s
+; RUN: llc < %s -march=cellspu > %t1.s
 ; RUN: grep dfa    %t1.s | count 2
 ; RUN: grep dfs    %t1.s | count 2
 ; RUN: grep dfm    %t1.s | count 6
index 540695677205f09dc43ba920047a493d2efe9664..22c8c3bff940113a35e3fa55b46e8589d610516f 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as -o - %s | llc -march=cellspu > %t1.s
+; RUN: llc < %s -march=cellspu > %t1.s
 ; RUN: grep eqv  %t1.s | count 18
 ; RUN: grep xshw %t1.s | count 6
 ; RUN: grep xsbh %t1.s | count 3
index bcd2f42aa77e3cc673905006e69373f5163774a0..0ac971c58c5b8a9eefab9359f701602ae9a761c5 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as -o - %s | llc -march=cellspu > %t1.s
+; RUN: llc < %s -march=cellspu > %t1.s
 ; RUN: grep shufb   %t1.s | count 39
 ; RUN: grep ilhu    %t1.s | count 27
 ; RUN: grep iohl    %t1.s | count 27
index 27a659e82930c0de75e3c635562f1e3a47ad701a..f07fe6fdab28fa44705dce0cf221492c25cc5dc0 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as -o - %s | llc -march=cellspu > %t1.s
+; RUN: llc < %s -march=cellspu > %t1.s
 ; RUN: grep fceq  %t1.s | count 1
 ; RUN: grep fcmeq %t1.s | count 1
 
index 1906bfe7ddaa403ddfe22bba7f95885b991dc39a..2b61fa6d2dc22ed87cbf9b255430b0042df5ff31 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as -o - %s | llc -march=cellspu > %t1.s
+; RUN: llc < %s -march=cellspu > %t1.s
 
 define i1 @fcmp_eq_setcc_f64(double %arg1, double %arg2) nounwind {
 entry:
index d121c3f8c907cd33a41e8a8dca24d127d54ec1b8..9921626b79cbc037c9375f194c81769da5c89d5a 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as -o - %s | llc -march=cellspu > %t1.s
+; RUN: llc < %s -march=cellspu > %t1.s
 ; RUN: grep frest    %t1.s | count 2 
 ; RUN: grep -w fi    %t1.s | count 2 
 ; RUN: grep -w fm    %t1.s | count 2
index 5bd66f4aaef3a3936157714b79d9adb0e56875f8..1e5e3b34144059e88f97241d80dd25dfb32c4866 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as -o - %s | llc -march=cellspu > %t1.s
+; RUN: llc < %s -march=cellspu > %t1.s
 ; RUN: grep 32768   %t1.s | count 2
 ; RUN: grep xor     %t1.s | count 4
 ; RUN: grep and     %t1.s | count 2
index dd6782772a5dc788087380ad488a9ab158b55973..3553cbbf7b5cc85bd6ce46f119fe9dfbc4122499 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as -o - %s | llc -march=cellspu > %t1.s
+; RUN: llc < %s -march=cellspu > %t1.s
 ; RUN: grep xswd            %t1.s | count 3
 ; RUN: grep xsbh            %t1.s | count 1
 ; RUN: grep xshw            %t1.s | count 2
index 23a036e37443db345eb7d6797d68dc0faa6a1f3f..57a2aa894725b42bc25f7649a4d82389a7fb7bc8 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as -o - %s | llc -march=cellspu > %t1.s
+; RUN: llc < %s -march=cellspu > %t1.s
 
 ; ModuleID = 'i8ops.bc'
 target datalayout = "E-p:32:32:128-f64:64:128-f32:32:128-i64:32:128-i32:32:128-i16:16:128-i8:8:128-i1:8:128-a0:0:128-v128:128:128-s0:128:128"
index 56d1b8fb41b2ee72c5963c556bd89bf392e4a629..32b12617cfc38b652626ea1fcf4933efc8520ce0 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as -o - %s | llc -march=cellspu > %t1.s
+; RUN: llc < %s -march=cellspu > %t1.s
 ; RUN: grep ilh                                %t1.s | count 15
 ; RUN: grep ceqh                               %t1.s | count 29
 ; RUN: grep ceqhi                              %t1.s | count 13
index 4f74b0dd04290acad4138fc7ba86cb9cc4b8ef22..ccbb5f7cde580971689cf929c0a3910dd06ece3c 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as -o - %s | llc -march=cellspu > %t1.s
+; RUN: llc < %s -march=cellspu > %t1.s
 ; RUN: grep ila                                %t1.s | count 6
 ; RUN: grep ceq                                %t1.s | count 28
 ; RUN: grep ceqi                               %t1.s | count 12
index b26252cedb305ea9c4f8ff57108182fbc2e89a27..9dd2cdc0dea9c01549181d36d1cd487e14802c2b 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as -o - %s | llc -march=cellspu > %t1.s
+; RUN: llc < %s -march=cellspu > %t1.s
 ; RUN: grep ceq                                %t1.s | count 20
 ; RUN: grep cgti                               %t1.s | count 12
 ; RUN: grep cgt                                %t1.s | count 16
index d246481f03a1911fe7a21bb14fb0310c93d5e40d..5517d104ab9f2ceeacabb1eddf8391d1948126df 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as -o - %s | llc -march=cellspu > %t1.s
+; RUN: llc < %s -march=cellspu > %t1.s
 ; RUN: grep ceqb                               %t1.s | count 24
 ; RUN: grep ceqbi                              %t1.s | count 12
 ; RUN: grep clgtb                              %t1.s | count 11
index 9a461cbb85a615d628dd4fc119ffdebe92c8f5cd..077d07169e4551dda859240e9c27f6d8990559d0 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as -o - %s | llc -march=cellspu > %t1.s
+; RUN: llc < %s -march=cellspu > %t1.s
 ; RUN: grep "ilh" %t1.s | count 11
 target datalayout = "E-p:32:32:128-f64:64:128-f32:32:128-i64:32:128-i32:32:128-i16:16:128-i8:8:128-i1:8:128-a0:0:128-v128:128:128-s0:128:128"
 target triple = "spu"
index bf471b1eb1cedd99b72198da07804a8cbc9a9537..119f526847ce5121f808be1f3e13ff8a04a89734 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as -o - %s | llc -march=cellspu > %t1.s
+; RUN: llc < %s -march=cellspu > %t1.s
 ; RUN: grep ilhu  %t1.s | count 8
 ; RUN: grep iohl  %t1.s | count 6
 ; RUN: grep -w il    %t1.s | count 3
index bbda3ff329cb74808e1450d80bed02c57a19d109..fd483651756ede316c4097b4e04ba7e0181b8d44 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as -o - %s | llc -march=cellspu > %t1.s
+; RUN: llc < %s -march=cellspu > %t1.s
 ; RUN: grep lqa        %t1.s | count 13
 ; RUN: grep ilhu       %t1.s | count 15
 ; RUN: grep ila        %t1.s | count 1
index ee3076594ad6b7813f2b96d8f0cc4aa66b9e0590..984c017c96d174a7977664e4926ee35618b9a033 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as -o - %s | llc -march=cellspu > %t1.s
+; RUN: llc < %s -march=cellspu > %t1.s
 ; RUN: grep csflt %t1.s | count 5
 ; RUN: grep cuflt %t1.s | count 1
 ; RUN: grep xshw  %t1.s | count 2
index 87ad18211a251f9b3546a4733c2dc19822833a47..b0f6a6247e41a9da218a8899938c7308e453cc58 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as -o - %s | llc -march=cellspu > %t1.s
+; RUN: llc < %s -march=cellspu > %t1.s
 ; RUN: grep ceq     %t1.s | count 30 
 ; RUN: grep ceqb    %t1.s | count 10
 ; RUN: grep ceqhi   %t1.s | count 5
index c18f8deb385e9d13d908874edc52120e4b98a5c6..81373470d06926007b035ea1820aa53904df1cb6 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as -o - %s | llc -march=cellspu > %t1.s
+; RUN: llc < %s -march=cellspu > %t1.s
 ; RUN: grep fa      %t1.s | count 5
 ; RUN: grep fs      %t1.s | count 5
 ; RUN: grep fm      %t1.s | count 15
index 843340b74542d5f05787de59eb8928851d907a6b..a29ee4c2405d224bc456823f9fcf361a38a23174 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as -o - %s | llc -march=cellspu > %t1.s
+; RUN: llc < %s -march=cellspu > %t1.s
 ; RUN: grep and       %t1.s | count 20
 ; RUN: grep andc      %t1.s | count 5
 target datalayout = "E-p:32:32:128-f64:64:128-f32:32:128-i64:32:128-i32:32:128-i16:16:128-i8:8:128-i1:8:128-a0:0:128-v128:128:128-s0:128:128"
index 4addbab87a92cc2de7da11330700063ee9dd8f85..8e5422c58eb6daec02f6e1cf389fe13fd4bb606f 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as -o - %s | llc -march=cellspu | FileCheck %s
+; RUN: llc < %s -march=cellspu | FileCheck %s
 
 ; ModuleID = 'loads.bc'
 target datalayout = "E-p:32:32:128-f64:64:128-f32:32:128-i64:32:128-i32:32:128-i16:16:128-i8:8:128-i1:8:128-a0:0:128-v128:128:128-s0:128:128"
index 085ce555dc2537df2ed4a5b30404bbac3e89a265..031d6c37ce70669938034910dd35f7f3f6e03cc4 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as -o - %s | llc -march=cellspu > %t1.s
+; RUN: llc < %s -march=cellspu > %t1.s
 ; RUN: grep mpy     %t1.s | count 44
 ; RUN: grep mpyu    %t1.s | count 4
 ; RUN: grep mpyh    %t1.s | count 10
index 841a3ec54d6f23085a21e36bbfde093c77ea9e1f..e1419232ece7d28ed6d9b0b195a59bd3594410a6 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as -o - %s | llc -march=cellspu > %t1.s
+; RUN: llc < %s -march=cellspu > %t1.s
 ; RUN: grep nand   %t1.s | count 90
 ; RUN: grep and    %t1.s | count 94
 ; RUN: grep xsbh   %t1.s | count 2
index 4e9da8f1297224faee3919001f06d6f771ec218f..8aa1e998bd0ee034f0adc64ca0b73c6a048f0ec6 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as -o - %s | llc -march=cellspu > %t1.s
+; RUN: llc < %s -march=cellspu > %t1.s
 ; RUN: grep and    %t1.s | count 2
 ; RUN: grep orc    %t1.s | count 85
 ; RUN: grep ori    %t1.s | count 30
index 9a10264c813d7076a1dbb86b65d6551a61c87084..a504c002ae12761bc28404c9f494d4b266f6d0b4 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as -o - %s | llc -march=cellspu -o %t1.s
+; RUN: llc < %s -march=cellspu -o %t1.s
 ; RUN: grep rot          %t1.s | count 85
 ; RUN: grep roth         %t1.s | count 8
 ; RUN: grep roti.*5      %t1.s | count 1
index e83e47606c2811c19340fe2b5ac8cf82ddc23102..c804256f513b7596166fd2d87774cc97bbb66b8b 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as -o - %s | llc -march=cellspu > %t1.s
+; RUN: llc < %s -march=cellspu > %t1.s
 ; RUN: grep selb   %t1.s | count 56
 
 target datalayout = "E-p:32:32:128-f64:64:128-f32:32:128-i64:32:128-i32:32:128-i16:16:128-i8:8:128-i1:8:128-a0:0:128-v128:128:128-s0:128:128"
index 71962a942587cab1dd912dc401337d76fa0c9923..0c0b3599b110f14c582c041bca6d833269569bcd 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as -o - %s | llc -march=cellspu | FileCheck %s 
+; RUN: llc < %s -march=cellspu | FileCheck %s 
 
 ; ModuleID = 'sext128.bc'
 target datalayout = "E-p:32:32:128-i1:8:128-i8:8:128-i16:16:128-i32:32:128-i64:32:128-f32:32:128-f64:64:128-v64:128:128-v128:128:128-a0:0:128-s0:128:128"
index 3c26baa7c7ab705d5a0db162a6ca5010f369e0b1..0264fc830ea845fcf5c8746c08a2fabd9f689214 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as -o - %s | llc -march=cellspu > %t1.s
+; RUN: llc < %s -march=cellspu > %t1.s
 ; RUN: grep {shlh      }  %t1.s | count 9
 ; RUN: grep {shlhi     }  %t1.s | count 3
 ; RUN: grep {shl       }  %t1.s | count 9
index d77dd9216cd7e7695c323dd2a683210c8eb74048..80bf47ccf5d9d7def35099b992e1325b18dad0c2 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as -o - %s | llc -march=cellspu -enable-unsafe-fp-math > %t1.s
+; RUN: llc < %s -march=cellspu -enable-unsafe-fp-math > %t1.s
 ; RUN: grep fa %t1.s | count 2
 ; RUN: grep fs %t1.s | count 2
 ; RUN: grep fm %t1.s | count 6
index f2f35ef4dbc45d565eb81fd7434fe63ea1c07eea..05f44f4be046054c04da3f4cf41dd4800bf34570 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as -o - %s | llc -march=cellspu > %t1.s
+; RUN: llc < %s -march=cellspu > %t1.s
 ; RUN: grep {stqd.*0(\$3)}      %t1.s | count 4
 ; RUN: grep {stqd.*16(\$3)}     %t1.s | count 4
 ; RUN: grep 16256               %t1.s | count 2
index 82d319dd1050b859f031d25bf1808c97d5d86867..8ee7d932251aa53f66307fd79fe50c15ca7543db 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llvm-as -o - %s | llc -march=cellspu > %t1.s
-; RUN: llvm-as -o - %s | llc -march=cellspu -mattr=large_mem > %t2.s
+; RUN: llc < %s -march=cellspu > %t1.s
+; RUN: llc < %s -march=cellspu -mattr=large_mem > %t2.s
 ; RUN: grep lqa     %t1.s | count 5
 ; RUN: grep lqd     %t1.s | count 11
 ; RUN: grep rotqbyi %t1.s | count 7
index db22564f43411b0235bd5f5caf7e3d4cfb32e3c8..d16185238af097cdea3b6877cb1f232f5f914225 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as -o - %s | llc -march=cellspu > %t1.s
+; RUN: llc < %s -march=cellspu > %t1.s
 ; RUN: grep shufb   %t1.s | count 19
 ; RUN: grep {ilhu.*1799}  %t1.s | count 1
 ; RUN: grep {ilhu.*771}  %t1.s | count 2
index 4b29adc8092165a6cec5165acb86438344a7bcf0..24c05c684084d5a4c6f6c3a1db8ac7cd6c2ca5b0 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llvm-as -o - %s | llc -march=cellspu > %t1.s
-; RUN: llvm-as -o - %s | llc -march=cellspu -mattr=large_mem > %t2.s
+; RUN: llc < %s -march=cellspu > %t1.s
+; RUN: llc < %s -march=cellspu -mattr=large_mem > %t2.s
 ; RUN: grep -w il  %t1.s | count 3
 ; RUN: grep ilhu   %t1.s | count 8
 ; RUN: grep -w ilh %t1.s | count 5
index 6abbd9ac797de0b0e9a95350d80f0bffe9b7ce4c..9a00c1f29f8fc77603add9f0b58fdebb5947f366 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as -o - %s | llc -march=cellspu > %t1.s
+; RUN: llc < %s -march=cellspu > %t1.s
 ; RUN: grep cbd     %t1.s | count 5
 ; RUN: grep chd     %t1.s | count 5
 ; RUN: grep cwd     %t1.s | count 10
index f6d95cbd53fc0680f142ed9a2d5e0bb0764e9fb7..dd382cfcb24dec4529e0c7d2782be593473b6240 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as %s -o - | llc 
+; RUN: llc < %s
 
 ; This caused the backend to assert out with:
 ; SparcInstrInfo.cpp:103: failed assertion `0 && "Unexpected unsigned type"'
index 8545133317420ebc854a99f63d4d6b5731d22663..0a774c64f82e6cde089d86d293b692b239cd9810 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as %s -o - | llc
+; RUN: llc < %s
 
 ; July 6, 2002 -- LLC Regression test
 ; This test case checks if the integer CC register %xcc (or %ccr)
index a536fa162c033fcebfd507d4323c038c6b28743b..969772ee2bee9f63b66e77ea14e97bff48b41831 100644 (file)
@@ -1,5 +1,4 @@
-; RUN: llvm-as < %s | \
-; RUN:   llc -march=ppc32 -mtriple=powerpc-apple-darwin8 -mcpu=g5 | \
+; RUN: llc < %s -march=ppc32 -mtriple=powerpc-apple-darwin8 -mcpu=g5 | \
 ; RUN:   grep {vspltish v.*, 10}
 
 define void @test(<8 x i16>* %P) {
index 7a65c00f104f5d5f48b730e6f9116e3cad645165..57ed250abc0970275af7e11c2ad55508c29116f5 100644 (file)
@@ -1,5 +1,4 @@
-; RUN: llvm-as < %s | \
-; RUN:   llc -march=ppc32 -combiner-alias-analysis | grep f5
+; RUN: llc < %s -march=ppc32 -combiner-alias-analysis | grep f5
 
 target datalayout = "E-p:32:32"
 target triple = "powerpc-apple-darwin8.2.0"
index c12dd44e6b9c24edb3bc63026120465b00723d99..6875704cf30d59e7706139acdf8250796506aeed 100644 (file)
@@ -1,25 +1,21 @@
-; RUN: llvm-as < %s | \
-; RUN:   llc -march=ppc32 -mtriple=powerpc-apple-darwin8 -o %t1
+; RUN: llc < %s -march=ppc32 -mtriple=powerpc-apple-darwin8 -o %t1
 ; RUN  not grep {stw r31, 20(r1)} %t1
 ; RUN: grep {stwu r1, -16448(r1)} %t1
 ; RUN: grep {addi r1, r1, 16448} %t1
-; RUN: llvm-as < %s | \
+; RUN: llc < %s -march=ppc32 | \
 ; RUN: not grep {lwz r31, 20(r1)}
-; RUN: llvm-as < %s | \
-; RUN:   llc -march=ppc32 -mtriple=powerpc-apple-darwin8 -disable-fp-elim \
+; RUN: llc < %s -march=ppc32 -mtriple=powerpc-apple-darwin8 -disable-fp-elim \
 ; RUN:   -o %t2
 ; RUN: grep {stw r31, 20(r1)} %t2
 ; RUN: grep {stwu r1, -16448(r1)} %t2
 ; RUN: grep {addi r1, r1, 16448} %t2
 ; RUN: grep {lwz r31, 20(r1)} %t2
-; RUN: llvm-as < %s | \
-; RUN:   llc -march=ppc64 -mtriple=powerpc-apple-darwin8 -o %t3
+; RUN: llc < %s -march=ppc64 -mtriple=powerpc-apple-darwin8 -o %t3
 ; RUN: not grep {std r31, 40(r1)} %t3
 ; RUN: grep {stdu r1, -16496(r1)} %t3
 ; RUN: grep {addi r1, r1, 16496} %t3
 ; RUN: not grep {ld r31, 40(r1)} %t3
-; RUN: llvm-as < %s | \
-; RUN:   llc -march=ppc64 -mtriple=powerpc-apple-darwin8 -disable-fp-elim \
+; RUN: llc < %s -march=ppc64 -mtriple=powerpc-apple-darwin8 -disable-fp-elim \
 ; RUN:   -o %t4
 ; RUN: grep {std r31, 40(r1)} %t4
 ; RUN: grep {stdu r1, -16496(r1)} %t4
index 20ff3dbc4f7b9cfb747b4dc7a28d71728ae28210..0454c584bcfe372cd982a08b9bb69b83c3bba231 100644 (file)
@@ -1,11 +1,9 @@
 ; There should be exactly one vxor here.
-; RUN: llvm-as < %s | \
-; RUN:   llc -march=ppc32 -mcpu=g5 --enable-unsafe-fp-math | \
+; RUN: llc < %s -march=ppc32 -mcpu=g5 --enable-unsafe-fp-math | \
 ; RUN:   grep vxor | count 1
 
 ; There should be exactly one vsplti here.
-; RUN: llvm-as < %s | \
-; RUN:   llc -march=ppc32 -mcpu=g5 --enable-unsafe-fp-math | \
+; RUN: llc < %s -march=ppc32 -mcpu=g5 --enable-unsafe-fp-math | \
 ; RUN:   grep vsplti | count 1
 
 define void @VXOR(<4 x float>* %P1, <4 x i32>* %P2, <4 x float>* %P3) {
index 1260c602f9d9c679ab7cef0dc44835b1ae627d37..74a8725eb12e30a4e3ee2c3ad544b2d6e189bb1f 100644 (file)
@@ -1,17 +1,13 @@
 ; fsqrt should be generated when the fsqrt feature is enabled, but not 
 ; otherwise.
 
-; RUN: llvm-as < %s | \
-; RUN:   llc -march=ppc32 -mtriple=powerpc-apple-darwin8 -mattr=+fsqrt | \
+; RUN: llc < %s -march=ppc32 -mtriple=powerpc-apple-darwin8 -mattr=+fsqrt | \
 ; RUN:   grep {fsqrt f1, f1}
-; RUN: llvm-as < %s | \
-; RUN:  llc -march=ppc32 -mtriple=powerpc-apple-darwin8 -mcpu=g5 | \
-; RUN:  grep {fsqrt f1, f1}
-; RUN: llvm-as < %s | \
-; RUN:   llc -march=ppc32 -mtriple=powerpc-apple-darwin8 -mattr=-fsqrt | \
+; RUN: llc < %s -march=ppc32 -mtriple=powerpc-apple-darwin8 -mcpu=g5 | \
+; RUN:   grep {fsqrt f1, f1}
+; RUN: llc < %s -march=ppc32 -mtriple=powerpc-apple-darwin8 -mattr=-fsqrt | \
 ; RUN:   not grep {fsqrt f1, f1}
-; RUN: llvm-as < %s | \
-; RUN:   llc -march=ppc32 -mtriple=powerpc-apple-darwin8 -mcpu=g4 | \
+; RUN: llc < %s -march=ppc32 -mtriple=powerpc-apple-darwin8 -mcpu=g4 | \
 ; RUN:   not grep {fsqrt f1, f1}
 
 declare double @llvm.sqrt.f64(double)
index 0f0afe9e665a0dec79397cfbdfbad06576667ffb..688b29aa124f4bc21db48ce970210207396ea73e 100644 (file)
@@ -1,5 +1,4 @@
-; RUN: llvm-as < %s | \
-; RUN:   llc -march=ppc32 -mtriple=powerpc-apple-darwin8 | \
+; RUN: llc < %s -march=ppc32 -mtriple=powerpc-apple-darwin8 | \
 ; RUN:   grep {srwi r., r., 5}
 
 define i32 @eq0(i32 %a) {
index 765c326bad114972912f80819aa6fb22cc88b443..d1c3f5234a26195bf7cc3e38f9cc04fcce1acfec 100644 (file)
@@ -1,9 +1,7 @@
-; RUN: llvm-as < %s | \
-; RUN:   llc -march=ppc32 -mtriple=powerpc-apple-darwin8 -mattr=stfiwx -o %t1
+; RUN: llc < %s -march=ppc32 -mtriple=powerpc-apple-darwin8 -mattr=stfiwx -o %t1
 ; RUN: grep stfiwx %t1
 ; RUN: not grep r1 %t1
-; RUN: llvm-as < %s | \
-; RUN:   llc -march=ppc32 -mtriple=powerpc-apple-darwin8 -mattr=-stfiwx \
+; RUN: llc < %s -march=ppc32 -mtriple=powerpc-apple-darwin8 -mattr=-stfiwx \
 ; RUN:   -o %t2
 ; RUN: not grep stfiwx %t2
 ; RUN: grep r1 %t2
index 28fe9a44296ef13c1a3ba6927081a838e6d911d4..37d1c5a5706dfa8691fbe509ce166ba1232cf39b 100644 (file)
@@ -1,9 +1,7 @@
-; RUN: llvm-as < %s | \
-; RUN:   llc -march=sparc -mattr=v9 -enable-sparc-v9-insts
+; RUN: llc < %s -march=sparc -mattr=v9 -enable-sparc-v9-insts
 ; RUN: llc < %s -march=sparc -mattr=-v9 | \
 ; RUN:   not grep popc
-; RUN: llvm-as < %s | \
-; RUN:   llc -march=sparc -mattr=v9 -enable-sparc-v9-insts | grep popc
+; RUN: llc < %s -march=sparc -mattr=v9 -enable-sparc-v9-insts | grep popc
 
 declare i32 @llvm.ctpop.i32(i32)
 
index 4aad567fa8f129eaf4651fb9c53ba1e3c0c6edb4..4fd4525b0455553f93d0ff068d536cbd53858320 100644 (file)
@@ -1,11 +1,7 @@
-; RUN: llvm-as < %s | \
-; RUN:   llc -mtriple=thumbv7-apple-darwin -relocation-model=static | FileCheck %s -check-prefix=STATIC
-; RUN: llvm-as < %s | \
-; RUN:   llc -mtriple=thumbv7-apple-darwin -relocation-model=dynamic-no-pic | FileCheck %s -check-prefix=DYNAMIC
-; RUN: llvm-as < %s | \
-; RUN:   llc -mtriple=thumbv7-apple-darwin -relocation-model=pic | FileCheck %s -check-prefix=PIC
-; RUN: llvm-as < %s | \
-; RUN:   llc -mtriple=thumbv7-linux-gnueabi -relocation-model=pic | FileCheck %s -check-prefix=LINUX
+; RUN: llc < %s -mtriple=thumbv7-apple-darwin -relocation-model=static | FileCheck %s -check-prefix=STATIC
+; RUN: llc < %s -mtriple=thumbv7-apple-darwin -relocation-model=dynamic-no-pic | FileCheck %s -check-prefix=DYNAMIC
+; RUN: llc < %s -mtriple=thumbv7-apple-darwin -relocation-model=pic | FileCheck %s -check-prefix=PIC
+; RUN: llc < %s -mtriple=thumbv7-linux-gnueabi -relocation-model=pic | FileCheck %s -check-prefix=LINUX
 
 @G = external global i32
 
index 4a0b5c37e26172279be0a32018e315450adfd780..8783a11c060b12752b1554c657c6edd0f4df4926 100644 (file)
@@ -1,5 +1,4 @@
-; RUN: llvm-as < %s | \
-; RUN:   llc -march=x86 -mtriple=i686-apple-darwin8 -relocation-model=static > %t
+; RUN: llc < %s -march=x86 -mtriple=i686-apple-darwin8 -relocation-model=static > %t
 ; RUN: grep {movl      _last} %t | count 1
 ; RUN: grep {cmpl.*_last} %t | count 1
 
index 72dab39888f183217d922cf60a5be24fa43640e9..7d0a6ab0a04c2ee47df091667eb7917bc9f3af03 100644 (file)
@@ -1,5 +1,4 @@
-; RUN: llvm-as < %s | \
-; RUN:   llc -march=x86 -relocation-model=static  -stats |& \
+; RUN: llc < %s -march=x86 -relocation-model=static -stats |& \
 ; RUN:   grep asm-printer | grep 14
 ;
 @size20 = external global i32          ; <i32*> [#uses=1]
index c39b377cc733eda76f675cea2a64744d2a62f27a..d58d638562c9ac3f50c79185a78c9d823583f2ae 100644 (file)
@@ -1,5 +1,4 @@
-; RUN: llvm-as < %s | \
-; RUN:   llc -march=x86 -relocation-model=static | not grep {subl.*%esp}
+; RUN: llc < %s -march=x86 -relocation-model=static | not grep {subl.*%esp}
 
 @A = external global i16*              ; <i16**> [#uses=1]
 @B = external global i32               ; <i32*> [#uses=1]
index 3cfe1aa2cc7e1d5a8a913e057100fa5a3a3fea11..0b26859b04c73c14809359132deea4c87744b8a3 100644 (file)
@@ -1,5 +1,4 @@
-; RUN: llvm-as < %s | \
-; RUN:   llc -mtriple=i686-pc-linux-gnu -asm-verbose=false -o %t
+; RUN: llc < %s -mtriple=i686-pc-linux-gnu -asm-verbose=false -o %t
 ; RUN: grep set %t   | count 7
 ; RUN: grep globl %t | count 6
 ; RUN: grep weak %t  | count 1
index 44704b6adb396d6f84b04ba4499094c52e53ded2..4ea37f0c46d3e04f4c7769a57858cd7c82e82a7b 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as %s -o - | llc -march=x86-64 -mattr=+sse2
+; RUN: llc < %s -march=x86-64 -mattr=+sse2
 
 define void @test(float* %R, <4 x float> %X) nounwind {
        %tmp = extractelement <4 x float> %X, i32 3
index 601690ef7cabb04b0f13f7681f0387b01f51bba0..ee57d9b762952bfbe79e8c557ceb52e35516757a 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llvm-as %s -o - | llc -march=x86 -mattr=+sse2 -mcpu=yonah | not grep movd
-; RUN: llvm-as %s -o - | llc -march=x86-64 -mattr=+sse2 -mcpu=core2 | not grep movd
+; RUN: llc < %s -march=x86 -mattr=+sse2 -mcpu=yonah | not grep movd
+; RUN: llc < %s -march=x86-64 -mattr=+sse2 -mcpu=core2 | not grep movd
 
 define i32 @t(<2 x i64>* %val) nounwind  {
        %tmp2 = load <2 x i64>* %val, align 16          ; <<2 x i64>> [#uses=1]
index 8b0a472296b595d997cb558444363c1b5e80cb6b..54947c394b5e86b7f3df60d43db1133cafaceb85 100644 (file)
@@ -1,8 +1,7 @@
 ; Make sure this testcase codegens to the fabs instruction, not a call to fabsf
 ; RUN: llc < %s -march=x86 -mattr=-sse2,-sse3,-sse | grep fabs\$ | \
 ; RUN:   count 2
-; RUN: llvm-as < %s | \
-; RUN:   llc -march=x86 -mattr=-sse,-sse2,-sse3 -enable-unsafe-fp-math | \
+; RUN: llc < %s -march=x86 -mattr=-sse,-sse2,-sse3 -enable-unsafe-fp-math | \
 ; RUN:   grep fabs\$ | count 3
 
 declare float @fabsf(float)
index 941f7087f6241dd5b66dd9651d89f9b832714623..5e88ed7f00d6fe3c5a4acb78ae23f73e601e2f15 100644 (file)
@@ -1,5 +1,4 @@
-; RUN: llvm-as < %s | \
-; RUN:   llc -march=x86 -x86-asm-syntax=intel -mcpu=yonah | grep {ret  20}
+; RUN: llc < %s -march=x86 -x86-asm-syntax=intel -mcpu=yonah | grep {ret       20}
 
 ; Check that a fastcc function pops its stack variables before returning.
 
index 3e6ad54e73b3d187924424af08c682ee78ff4cb3..c83a0cbf69e0c2d1209c9836b91f42e45359d2a6 100644 (file)
@@ -1,5 +1,4 @@
-; RUN: llvm-as < %s | \
-; RUN:   llc -mtriple=i686-apple-darwin8 -mcpu=yonah -march=x86 > %t
+; RUN: llc < %s -mtriple=i686-apple-darwin8 -mcpu=yonah -march=x86 > %t
 ; RUN: grep fldl %t | count 1
 ; RUN: not grep xmm %t
 ; RUN: grep {sub.*esp} %t | count 1
index 59773b249104902319d41f4f111399024b231de2..dbf1b14684c23a5ac5aa50293a6a34ab3495ac65 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as %s -o - | llc -march=x86-64
+; RUN: llc < %s -march=x86-64
 
 define <4 x double> @foo0(<4 x double> %t) {
   %r = insertelement <4 x double> %t, double 2.3, i32 0
index 27215956b64d8c4c2c9308e1334864e5ac8301c3..ec5fc398c26f8be31136b51ecc1284948ef6107e 100644 (file)
@@ -1,9 +1,7 @@
 ; Make sure this testcase codegens to the sin and cos instructions, not calls
-; RUN: llvm-as < %s | \
-; RUN:   llc -march=x86 -mattr=-sse,-sse2,-sse3 -enable-unsafe-fp-math  | \
+; RUN: llc < %s -march=x86 -mattr=-sse,-sse2,-sse3 -enable-unsafe-fp-math  | \
 ; RUN:   grep sin\$ | count 3
-; RUN: llvm-as < %s | \
-; RUN:   llc -march=x86 -mattr=-sse,-sse2,-sse3 -enable-unsafe-fp-math  | \
+; RUN: llc < %s -march=x86 -mattr=-sse,-sse2,-sse3 -enable-unsafe-fp-math  | \
 ; RUN:   grep cos\$ | count 3
 
 declare float  @sinf(float)
index cbf3eb0e5f0d8883a4823bc8237051aec05ccc74..1ebcb1a6fa646511afcac39ef245d576ba7d62ee 100644 (file)
@@ -1,7 +1,5 @@
-; RUN: llvm-as < %s | \
-; RUN:   llc -march=x86 -mcpu=yonah | not grep movss
-; RUN: llvm-as < %s | \
-; RUN:   llc -march=x86 -mcpu=yonah | not grep xmm
+; RUN: llc < %s -march=x86 -mcpu=yonah | not grep movss
+; RUN: llc < %s -march=x86 -mcpu=yonah | not grep xmm
 
 define double @test1(double* %P) {
         %X = load double* %P            ; <double> [#uses=1]
index 547763e4a7935850b055c12b2199ccf9c3518d8e..dc3d6fe6797dd5207f7c262355ed1ad8fd738cbe 100644 (file)
@@ -1,5 +1,4 @@
-; RUN: llvm-as < %s | \
-; RUN: llc -march=x86-64 -mattr=+64bit,+sse3 -print-failed-fuse-candidates |& \
+; RUN: llc < %s -march=x86-64 -mattr=+64bit,+sse3 -print-failed-fuse-candidates |& \
 ; RUN:   grep fail | count 1
 
 declare float @test_f(float %f)
index c2c1701256fca85f160a9257fa3113aa881f77f6..d15f516cddee36e0c4806398bdcd0ffeee5f9588 100644 (file)
@@ -3,8 +3,7 @@
 ; RUN: grep %%rip      %t1 | count 6
 ; RUN: grep movq     %t1 | count 6
 ; RUN: grep leaq     %t1 | count 1
-; RUN: llvm-as < %s | \
-; RUN:   llc -mtriple=x86_64-pc-linux -relocation-model=static -o %t2
+; RUN: llc < %s -mtriple=x86_64-pc-linux -relocation-model=static -o %t2
 ; RUN: grep movl %t2 | count 2
 ; RUN: grep movq %t2 | count 2
 
index 016528a7dcd7e6f88674c9eb15999faac8917efe..b21918ef80d4b43db2e7eec5cf3388af98eeac01 100644 (file)
@@ -1,5 +1,4 @@
-; RUN: llvm-as < %s | \
-; RUN:   llc -mtriple=x86_64-pc-linux -relocation-model=pic -o %t1
+; RUN: llc < %s -mtriple=x86_64-pc-linux -relocation-model=pic -o %t1
 ; RUN: grep {call      f@PLT} %t1
 
 define void @g() {
index e0fcc057308e5a0f75418c0c5fc7833372af7b0f..0f65e57449596cca07e4e0dd3d597beaa635d00c 100644 (file)
@@ -1,5 +1,4 @@
-; RUN: llvm-as < %s | \
-; RUN:   llc -mtriple=x86_64-pc-linux -relocation-model=pic -o %t1
+; RUN: llc < %s -mtriple=x86_64-pc-linux -relocation-model=pic -o %t1
 ; RUN: grep {call      g@PLT} %t1
 
 @g = alias weak i32 ()* @f
index e5cad9e164fb623380f64f4235a1b8c85f0fd6ac..ef816853326e20c19ab8325aa48a50acabe97daa 100644 (file)
@@ -1,5 +1,4 @@
-; RUN: llvm-as < %s | \
-; RUN:   llc -mtriple=x86_64-pc-linux -relocation-model=pic -o %t1
+; RUN: llc < %s -mtriple=x86_64-pc-linux -relocation-model=pic -o %t1
 ; RUN: grep {call      __fixunsxfti@PLT} %t1
 
 define i128 @f(x86_fp80 %a) nounwind {
index 0fc62ff844de847d2d1d85936e34c39d11f26eb7..a52c564f96836bd00c6e66655dac88986adfe915 100644 (file)
@@ -1,5 +1,4 @@
-; RUN: llvm-as < %s | \
-; RUN:   llc -mtriple=x86_64-pc-linux -relocation-model=pic -o %t1
+; RUN: llc < %s -mtriple=x86_64-pc-linux -relocation-model=pic -o %t1
 ; RUN: grep {call      f} %t1
 ; RUN: not grep {call  f@PLT} %t1
 
index 671b94d91593493cd0fd0a39c98b9791b21f9bc0..246c00f74119d16ef5f05a0f8ef7ad6a56e6fa24 100644 (file)
@@ -1,5 +1,4 @@
-; RUN: llvm-as < %s | \
-; RUN:   llc -mtriple=x86_64-pc-linux -relocation-model=pic -o %t1
+; RUN: llc < %s -mtriple=x86_64-pc-linux -relocation-model=pic -o %t1
 ; RUN: grep {call      f} %t1
 ; RUN: not grep {call  f@PLT} %t1
 
index 10428dc6dbef3b249382ce8e7f1e35672459e230..90fc1194a33bb7a320d635bd8b3db6cc268c78b2 100644 (file)
@@ -1,5 +1,4 @@
-; RUN: llvm-as < %s | \
-; RUN:   llc -mtriple=x86_64-pc-linux -relocation-model=pic -o %t1
+; RUN: llc < %s -mtriple=x86_64-pc-linux -relocation-model=pic -o %t1
 ; RUN: grep {movq      a@GOTPCREL(%rip),} %t1
 
 @a = global i32 0
index a1f658fd2a549cf85d8f20881bc1e1f3aed1ae5c..6369bde6943da50e4c99575fc7301c55d80a3f20 100644 (file)
@@ -1,5 +1,4 @@
-; RUN: llvm-as < %s | \
-; RUN:   llc -mtriple=x86_64-pc-linux -relocation-model=pic -o %t1
+; RUN: llc < %s -mtriple=x86_64-pc-linux -relocation-model=pic -o %t1
 ; RUN: grep {movl      a(%rip),} %t1
 ; RUN: not grep GOTPCREL %t1
 
index 88978188e070889348aefb77c0f1a4bbc0967c3d..6e19ad35bcf44329a74333985ced97dc004e3a18 100644 (file)
@@ -1,5 +1,4 @@
-; RUN: llvm-as < %s | \
-; RUN:   llc -mtriple=x86_64-pc-linux -relocation-model=pic -o %t1
+; RUN: llc < %s -mtriple=x86_64-pc-linux -relocation-model=pic -o %t1
 ; RUN: grep {movl      a(%rip),} %t1
 ; RUN: not grep GOTPCREL %t1
 
index 57e78b604a1ca7e100ab32611b5c8f6cf041e41c..4d98ee614026d9bc7ee346eee28ab319cea75533 100644 (file)
@@ -1,5 +1,4 @@
-; RUN: llvm-as < %s | \
-; RUN:   llc -mtriple=x86_64-pc-linux -relocation-model=pic -o %t1
+; RUN: llc < %s -mtriple=x86_64-pc-linux -relocation-model=pic -o %t1
 ; RUN: grep {movq      f@GOTPCREL(%rip),} %t1
 
 define void ()* @g() nounwind {
index 6231991ef206fd6c0ebae89b96975d468e8aeed8..d3b567c610763eb607e542a84a0539e8362a14e4 100644 (file)
@@ -1,5 +1,4 @@
-; RUN: llvm-as < %s | \
-; RUN:   llc -mtriple=x86_64-pc-linux -relocation-model=pic -o %t1
+; RUN: llc < %s -mtriple=x86_64-pc-linux -relocation-model=pic -o %t1
 ; RUN: grep {leaq      f(%rip),} %t1
 ; RUN: not grep GOTPCREL %t1
 
index 3ad1d9558ac60fb349a18a2258208d53fc63313e..076103133fa96a282ab6f72efcbc36554e57e761 100644 (file)
@@ -1,5 +1,4 @@
-; RUN: llvm-as < %s | \
-; RUN:   llc -mtriple=x86_64-pc-linux -relocation-model=pic -o %t1
+; RUN: llc < %s -mtriple=x86_64-pc-linux -relocation-model=pic -o %t1
 ; RUN: grep {leaq      f(%rip),} %t1
 ; RUN: not grep GOTPCREL %t1
 
index 5d1ebbd0bf3dd2327eed6844a5edd4b596dd25df..b2a967913f42815001fed33ac3c3ef3b5203055a 100644 (file)
@@ -1,5 +1,4 @@
-; RUN: llvm-as < %s | \
-; RUN:   opt -predsimplify -instcombine -simplifycfg  -S > %t
+; RUN: opt < %s -predsimplify -instcombine -simplifycfg -S > %t
 ; RUN: grep -v declare %t | not grep fail
 ; RUN: grep -v declare %t | grep pass | count 3
 
index 5412c3cca73baf742525010aef61296e3d6faf0f..57ba3cf809fd0368cbfa3b4ab23f53b547092333 100644 (file)
@@ -1,5 +1,4 @@
-; RUN: llvm-as < %s | \
-; RUN:   opt -predsimplify -instcombine -simplifycfg -S | \
+; RUN: opt < %s -predsimplify -instcombine -simplifycfg -S | \
 ; RUN:   grep -v declare | grep pass | count 2
 
 define i32 @test(i32 %x, i32 %y) {
index ab42b491a1b0da1445df19677951d586f4365267..1a08c9d0d5b93e95c8ecedb523e9f244073a3316 100644 (file)
@@ -1,5 +1,4 @@
-; RUN: llvm-as < %s | \
-; RUN:   opt -predsimplify -instcombine -simplifycfg -S > %t
+; RUN: opt < %s -predsimplify -instcombine -simplifycfg -S > %t
 ; RUN: grep -v declare %t | not grep fail
 ; RUN: grep -v declare %t | grep pass | count 4
 
index 734213d870f7b789d5d34247d6bf008486f0472e..4d0517618e00ee48e0d5be83e4909f85386e9670 100644 (file)
@@ -1,7 +1,6 @@
 ; This should be one add and two multiplies.
 
-; RUN: llvm-as < %s | \
-; RUN:   opt -reassociate -instcombine -S > %t 
+; RUN: opt < %s -reassociate -instcombine -S > %t
 ; RUN: grep mul %t | count 2
 ; RUN: grep add %t | count 1
 
index 1d0e68d2445bb4529f799dad39c98d9160923442..8116554196fba16fe784368f08aa43176c35310a 100644 (file)
@@ -1,7 +1,6 @@
 ; This should turn into one multiply and one add.
 
-; RUN: llvm-as < %s | \
-; RUN:   opt -instcombine -reassociate -instcombine -S > %t 
+; RUN: opt < %s -instcombine -reassociate -instcombine -S > %t
 ; RUN: grep mul %t | count 1
 ; RUN: grep add %t | count 1
 
index b84d3d9fc208286fe06f23da9caca6232670a566..73af5e5304ee02b81d2931dfc6941b89f8649a84 100644 (file)
@@ -1,6 +1,5 @@
 ; There should be exactly one shift and one add left.
-; RUN: llvm-as < %s | \
-; RUN:   opt -reassociate -instcombine -S > %t  
+; RUN: opt < %s -reassociate -instcombine -S > %t
 ; RUN: grep shl %t | count 1
 ; RUN: grep add %t | count 1
 
index f65c66669e564e5c24c9e12691f039f5faffad3f..0c140ad681d500aa982d2607ec68c8fc2c9fddb2 100644 (file)
@@ -1,6 +1,5 @@
 ; This function contains two tail calls, which should be eliminated
-; RUN: llvm-as < %s | \
-; RUN:   opt -tailcallelim -stats -disable-output |& grep {2 tailcallelim}
+; RUN: opt < %s -tailcallelim -stats -disable-output |& grep {2 tailcallelim}
 
 define i32 @Ack(i32 %M.1, i32 %N.1) {
 entry: