diff --git a/llvm/test/Analysis/Andersens/2007-11-19-InlineAsm.ll b/llvm/test/Analysis/Andersens/2007-11-19-InlineAsm.ll index c1ab6c7b1a4f3ba596b60829951daefce06ff039..7bd5fddac3366cfa019c14a4e84ed15b61e7a48a 100644 --- a/llvm/test/Analysis/Andersens/2007-11-19-InlineAsm.ll +++ b/llvm/test/Analysis/Andersens/2007-11-19-InlineAsm.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -anders-aa -disable-output +; RUN: opt %s -anders-aa -disable-output define void @x(i16 %Y) { entry: diff --git a/llvm/test/Analysis/Andersens/2008-03-19-External.ll b/llvm/test/Analysis/Andersens/2008-03-19-External.ll index c4f1ff0838556f4f1dc1c9ed91ad87f268894b87..40dbae900e137a23be1ab0f77db1eb7f08c9c767 100644 --- a/llvm/test/Analysis/Andersens/2008-03-19-External.ll +++ b/llvm/test/Analysis/Andersens/2008-03-19-External.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -anders-aa -gvn | llvm-dis | not grep undef +; RUN: opt %s -anders-aa -gvn | llvm-dis | not grep undef ; PR2160 declare void @f(i32*) diff --git a/llvm/test/Analysis/Andersens/2008-04-07-Memcpy.ll b/llvm/test/Analysis/Andersens/2008-04-07-Memcpy.ll index 935444991a3817b67e9d51a91ee747f711308c11..c89f976e8d920f6f466ad0b3ac5cbe0a9b31c37a 100644 --- a/llvm/test/Analysis/Andersens/2008-04-07-Memcpy.ll +++ b/llvm/test/Analysis/Andersens/2008-04-07-Memcpy.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -anders-aa -gvn | llvm-dis | not grep undef +; RUN: opt %s -anders-aa -gvn | llvm-dis | not grep undef ; PR2169 declare void @llvm.memcpy.i32(i8*, i8*, i32, i32) nounwind diff --git a/llvm/test/Analysis/Andersens/2008-12-27-BuiltinWrongType.ll b/llvm/test/Analysis/Andersens/2008-12-27-BuiltinWrongType.ll index 5f5da7464db98f02f44d17fb9a7a2f085d54a9d2..36c5c80b5a3ba6bffd8de70d341deaa35a039259 100644 --- a/llvm/test/Analysis/Andersens/2008-12-27-BuiltinWrongType.ll +++ b/llvm/test/Analysis/Andersens/2008-12-27-BuiltinWrongType.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -anders-aa +; RUN: opt %s -anders-aa ; PR3262 @.str15 = external global [3 x i8] ; <[3 x i8]*> [#uses=1] diff --git a/llvm/test/Analysis/Andersens/basictest.ll b/llvm/test/Analysis/Andersens/basictest.ll index 0005e09b2e7e0dff2d154ca82ac761000ab2ee95..87d5d1ec9800ed6602f4970afee565462b6add1c 100644 --- a/llvm/test/Analysis/Andersens/basictest.ll +++ b/llvm/test/Analysis/Andersens/basictest.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -anders-aa -aa-eval 2>/dev/null +; RUN: opt %s -anders-aa -aa-eval 2>/dev/null define void @test1() { %X = malloc i32* diff --git a/llvm/test/Analysis/Andersens/external.ll b/llvm/test/Analysis/Andersens/external.ll index 8a4be2590ddf9b0d4364a15a220a29c56cbb12da..ffa3a74202f8aedd56fc355d2fac6a4b07bcb617 100644 --- a/llvm/test/Analysis/Andersens/external.ll +++ b/llvm/test/Analysis/Andersens/external.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -anders-aa -gvn -deadargelim | llvm-dis | grep store | not grep null +; RUN: opt %s -anders-aa -gvn -deadargelim | llvm-dis | grep store | not grep null ; Because the 'internal' function is passed to an external function, we don't ; know what the incoming values will alias. As such, we cannot do the diff --git a/llvm/test/Analysis/Andersens/modreftest.ll b/llvm/test/Analysis/Andersens/modreftest.ll index f86c7f74d17f7c7daafd35a34e34b69012c16fba..ac42fce668265aa1b624c3f100193275e1ad39bd 100644 --- a/llvm/test/Analysis/Andersens/modreftest.ll +++ b/llvm/test/Analysis/Andersens/modreftest.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -anders-aa -gvn -instcombine | llvm-dis \ +; RUN: opt %s -anders-aa -gvn -instcombine | llvm-dis \ ; RUN: | grep {ret i1 true} @G = internal global i32* null diff --git a/llvm/test/Analysis/Andersens/modreftest2.ll b/llvm/test/Analysis/Andersens/modreftest2.ll index 0ba91df857a6e3cb50bbf74be7dedcb16b4d6bfb..f47f3d8e668a2ac3d1b3a4ced001dfbbc0b64523 100644 --- a/llvm/test/Analysis/Andersens/modreftest2.ll +++ b/llvm/test/Analysis/Andersens/modreftest2.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -anders-aa -gvn | llvm-dis \ +; RUN: opt %s -anders-aa -gvn | llvm-dis \ ; RUN: | not grep {ret i32 undef} ;; From PR 2160 diff --git a/llvm/test/Analysis/Andersens/trivialtest.ll b/llvm/test/Analysis/Andersens/trivialtest.ll index ce37516b36845a4274b644b7d2c5402b39db36d3..453d02305ff2259bea22596e28b2155516431905 100644 --- a/llvm/test/Analysis/Andersens/trivialtest.ll +++ b/llvm/test/Analysis/Andersens/trivialtest.ll @@ -1,3 +1,3 @@ -; RUN: llvm-as < %s | opt -anders-aa -disable-output +; RUN: opt %s -anders-aa -disable-output define void @foo() { ret void } diff --git a/llvm/test/Analysis/BasicAA/2003-02-26-AccessSizeTest.ll b/llvm/test/Analysis/BasicAA/2003-02-26-AccessSizeTest.ll index 8ba66df8b99fad3c88bf7244a159f2b0fa3216a4..171e6ef38a810d1b4be829dafde58d24848abaf0 100644 --- a/llvm/test/Analysis/BasicAA/2003-02-26-AccessSizeTest.ll +++ b/llvm/test/Analysis/BasicAA/2003-02-26-AccessSizeTest.ll @@ -2,7 +2,7 @@ ; is performed. It is not legal to delete the second load instruction because ; the value computed by the first load instruction is changed by the store. -; RUN: llvm-as < %s | opt -gvn -instcombine | llvm-dis | grep DONOTREMOVE +; RUN: opt %s -gvn -instcombine | llvm-dis | grep DONOTREMOVE define i32 @test() { %A = alloca i32 diff --git a/llvm/test/Analysis/BasicAA/2003-03-04-GEPCrash.ll b/llvm/test/Analysis/BasicAA/2003-03-04-GEPCrash.ll index 0a15deb9baa653bbaeb81585c8eaaee14a1d4752..a6624462bec06af565add0bc78f57010c9d4138c 100644 --- a/llvm/test/Analysis/BasicAA/2003-03-04-GEPCrash.ll +++ b/llvm/test/Analysis/BasicAA/2003-03-04-GEPCrash.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -basicaa -aa-eval -disable-output 2>/dev/null +; RUN: opt %s -basicaa -aa-eval -disable-output 2>/dev/null ; Test for a bug in BasicAA which caused a crash when querying equality of P1&P2 define void @test({[2 x i32],[2 x i32]}* %A, i64 %X, i64 %Y) { %P1 = getelementptr {[2 x i32],[2 x i32]}* %A, i64 0, i32 0, i64 %X diff --git a/llvm/test/Analysis/BasicAA/2003-04-22-GEPProblem.ll b/llvm/test/Analysis/BasicAA/2003-04-22-GEPProblem.ll index 4b3cc6a0a647a57ff5ed7e9813064845632f57f3..6518551c7aff3642d6f1b6059cd8aa61cb8df2d4 100644 --- a/llvm/test/Analysis/BasicAA/2003-04-22-GEPProblem.ll +++ b/llvm/test/Analysis/BasicAA/2003-04-22-GEPProblem.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -gvn -instcombine | llvm-dis | grep sub +; RUN: opt %s -gvn -instcombine | llvm-dis | grep sub ; BasicAA was incorrectly concluding that P1 and P2 didn't conflict! diff --git a/llvm/test/Analysis/BasicAA/2003-04-25-GEPCrash.ll b/llvm/test/Analysis/BasicAA/2003-04-25-GEPCrash.ll index 845613150eac67dc4fcb23e7f170c581d7cf5052..ecfa706f14d4ef4c4c8b498b78a2f57f10b87883 100644 --- a/llvm/test/Analysis/BasicAA/2003-04-25-GEPCrash.ll +++ b/llvm/test/Analysis/BasicAA/2003-04-25-GEPCrash.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -basicaa -aa-eval -disable-output 2>/dev/null +; RUN: opt %s -basicaa -aa-eval -disable-output 2>/dev/null ; Test for a bug in BasicAA which caused a crash when querying equality of P1&P2 define void @test([17 x i16]* %mask_bits) { %P1 = getelementptr [17 x i16]* %mask_bits, i64 0, i64 0 diff --git a/llvm/test/Analysis/BasicAA/2003-05-21-GEP-Problem.ll b/llvm/test/Analysis/BasicAA/2003-05-21-GEP-Problem.ll index c9049c8cc439c349a7b49f4024f98ddac418fa7b..ee7c659658dd5342a7c1d70f103882f2e034cb85 100644 --- a/llvm/test/Analysis/BasicAA/2003-05-21-GEP-Problem.ll +++ b/llvm/test/Analysis/BasicAA/2003-05-21-GEP-Problem.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -licm -disable-output +; RUN: opt %s -licm -disable-output %struct..apr_array_header_t = type { i32*, i32, i32, i32, i8* } %struct..apr_table_t = type { %struct..apr_array_header_t, i32, [32 x i32], [32 x i32] } diff --git a/llvm/test/Analysis/BasicAA/2003-06-01-AliasCrash.ll b/llvm/test/Analysis/BasicAA/2003-06-01-AliasCrash.ll index c673a323001ecb9b3dcefecd14c6d7e1545a4588..d832b10f6d22c65bf52831af13d6c56b4fd422ac 100644 --- a/llvm/test/Analysis/BasicAA/2003-06-01-AliasCrash.ll +++ b/llvm/test/Analysis/BasicAA/2003-06-01-AliasCrash.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -basicaa -aa-eval -disable-output 2>/dev/null +; RUN: opt %s -basicaa -aa-eval -disable-output 2>/dev/null define i32 @MTConcat([3 x i32]* %a.1) { %tmp.961 = getelementptr [3 x i32]* %a.1, i64 0, i64 4 diff --git a/llvm/test/Analysis/BasicAA/2003-07-03-BasicAACrash.ll b/llvm/test/Analysis/BasicAA/2003-07-03-BasicAACrash.ll index d385961780d3aef348b57c2f4ff1a02454775ebf..1db578cc0d2b19d2ec4c5dff2622fbcbfb94310e 100644 --- a/llvm/test/Analysis/BasicAA/2003-07-03-BasicAACrash.ll +++ b/llvm/test/Analysis/BasicAA/2003-07-03-BasicAACrash.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -basicaa -aa-eval -disable-output 2>/dev/null +; RUN: opt %s -basicaa -aa-eval -disable-output 2>/dev/null %struct..RefPoint = type { i32, { i32, i8, i8 } } %struct..RefRect = type { %struct..RefPoint, %struct..RefPoint } diff --git a/llvm/test/Analysis/BasicAA/2003-09-19-LocalArgument.ll b/llvm/test/Analysis/BasicAA/2003-09-19-LocalArgument.ll index e2bb86dcb226adf3d79fbfe41bfc90bfd0b27994..c3977afd8b1366ff5e4109e0a30bf0c49c61fef9 100644 --- a/llvm/test/Analysis/BasicAA/2003-09-19-LocalArgument.ll +++ b/llvm/test/Analysis/BasicAA/2003-09-19-LocalArgument.ll @@ -1,6 +1,6 @@ ; In this test, a local alloca cannot alias an incoming argument. -; RUN: llvm-as < %s | opt -gvn -instcombine | llvm-dis | not grep sub +; RUN: opt %s -gvn -instcombine | llvm-dis | not grep sub define i32 @test(i32* %P) { %X = alloca i32 diff --git a/llvm/test/Analysis/BasicAA/2003-11-04-SimpleCases.ll b/llvm/test/Analysis/BasicAA/2003-11-04-SimpleCases.ll index 99eae1660de82a53384003831a60b0821c443d44..76a644e008ef4d6e856847f911507d1777844219 100644 --- a/llvm/test/Analysis/BasicAA/2003-11-04-SimpleCases.ll +++ b/llvm/test/Analysis/BasicAA/2003-11-04-SimpleCases.ll @@ -1,7 +1,7 @@ ; This testcase consists of alias relations which should be completely ; resolvable by basicaa. -; RUN: llvm-as < %s | opt -aa-eval -print-may-aliases -disable-output \ +; RUN: opt %s -aa-eval -print-may-aliases -disable-output \ ; RUN: |& not grep May: %T = type { i32, [10 x i8] } diff --git a/llvm/test/Analysis/BasicAA/2003-12-11-ConstExprGEP.ll b/llvm/test/Analysis/BasicAA/2003-12-11-ConstExprGEP.ll index 639cb0a2f82c9d5febc276df5584729ed03d666d..46025d08ae30829ac62b6040efe9bf27122f470d 100644 --- a/llvm/test/Analysis/BasicAA/2003-12-11-ConstExprGEP.ll +++ b/llvm/test/Analysis/BasicAA/2003-12-11-ConstExprGEP.ll @@ -1,7 +1,7 @@ ; This testcase consists of alias relations which should be completely ; resolvable by basicaa, but require analysis of getelementptr constant exprs. -; RUN: llvm-as < %s | opt -aa-eval -print-may-aliases -disable-output \ +; RUN: opt %s -aa-eval -print-may-aliases -disable-output \ ; RUN: |& not grep May: %T = type { i32, [10 x i8] } diff --git a/llvm/test/Analysis/BasicAA/2004-07-28-MustAliasbug.ll b/llvm/test/Analysis/BasicAA/2004-07-28-MustAliasbug.ll index 407932c9d6c58ed1842f505a7c950d993404f44f..05defe54b9bafb21bf8a70f375a779b6db1f8e00 100644 --- a/llvm/test/Analysis/BasicAA/2004-07-28-MustAliasbug.ll +++ b/llvm/test/Analysis/BasicAA/2004-07-28-MustAliasbug.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -dse | llvm-dis | grep {store i32 0} +; RUN: opt %s -dse | llvm-dis | grep {store i32 0} define void @test({i32,i32 }* %P) { %Q = getelementptr {i32,i32}* %P, i32 1 diff --git a/llvm/test/Analysis/BasicAA/2004-12-08-BasicAACrash.ll b/llvm/test/Analysis/BasicAA/2004-12-08-BasicAACrash.ll index 58d4da16e6e6b293b83b34e28c7f8461e30718ab..b43bb3fbce8e2d8be13472988c5acee6b5ad3e5d 100644 --- a/llvm/test/Analysis/BasicAA/2004-12-08-BasicAACrash.ll +++ b/llvm/test/Analysis/BasicAA/2004-12-08-BasicAACrash.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -licm +; RUN: opt %s -licm %"java/lang/Object" = type { %struct.llvm_java_object_base } %"java/lang/StringBuffer" = type { "java/lang/Object", i32, { "java/lang/Object", i32, [0 x i8] }*, i1 } diff --git a/llvm/test/Analysis/BasicAA/2004-12-08-BasicAACrash2.ll b/llvm/test/Analysis/BasicAA/2004-12-08-BasicAACrash2.ll index d96438fd43d201f1479a5e7fcc4d957a6a46d8a9..bbf8c5aad02cfb301319a186db8547bc3d944d8f 100644 --- a/llvm/test/Analysis/BasicAA/2004-12-08-BasicAACrash2.ll +++ b/llvm/test/Analysis/BasicAA/2004-12-08-BasicAACrash2.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -dse +; RUN: opt %s -dse %"java/lang/Object" = type { %struct.llvm_java_object_base } %"java/lang/StringBuffer" = type { "java/lang/Object", i32, { "java/lang/Object", i32, [0 x i8] }*, i1 } diff --git a/llvm/test/Analysis/BasicAA/2005-03-09-BrokenBasicAA.ll b/llvm/test/Analysis/BasicAA/2005-03-09-BrokenBasicAA.ll index 21c86b774c5afa8c1df943f3243af6cc4a36ee31..ed89cb56cfffe525b2b2211d44af847ea3c3ca22 100644 --- a/llvm/test/Analysis/BasicAA/2005-03-09-BrokenBasicAA.ll +++ b/llvm/test/Analysis/BasicAA/2005-03-09-BrokenBasicAA.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -basicaa -gvn -instcombine |\ +; RUN: opt %s -basicaa -gvn -instcombine |\ ; RUN: llvm-dis | grep {load i32\\* %A} declare double* @useit(i32*) diff --git a/llvm/test/Analysis/BasicAA/2006-03-03-BadArraySubscript.ll b/llvm/test/Analysis/BasicAA/2006-03-03-BadArraySubscript.ll index b8e30198e371289b506aa0ce1b43cdfe1b065c1d..00fbc15b461657b91c7174cdde22e0d0bf303626 100644 --- a/llvm/test/Analysis/BasicAA/2006-03-03-BadArraySubscript.ll +++ b/llvm/test/Analysis/BasicAA/2006-03-03-BadArraySubscript.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -aa-eval -disable-output |& grep {2 no alias respon} +; RUN: opt %s -aa-eval -disable-output |& grep {2 no alias respon} ; TEST that A[1][0] may alias A[0][i]. define void @test(i32 %N) { diff --git a/llvm/test/Analysis/BasicAA/2007-01-13-BasePointerBadNoAlias.ll b/llvm/test/Analysis/BasicAA/2007-01-13-BasePointerBadNoAlias.ll index 08c483d6d76cb79fc8673197d4e17dd07f2d68fb..18c0bb2c42f60bdff6116e6d1a1cd95b3780829c 100644 --- a/llvm/test/Analysis/BasicAA/2007-01-13-BasePointerBadNoAlias.ll +++ b/llvm/test/Analysis/BasicAA/2007-01-13-BasePointerBadNoAlias.ll @@ -1,7 +1,7 @@ ; PR1109 -; RUN: llvm-as < %s | opt -basicaa -gvn -instcombine | llvm-dis | \ +; RUN: opt %s -basicaa -gvn -instcombine | llvm-dis | \ ; RUN: grep {sub i32} -; RUN: llvm-as < %s | opt -basicaa -gvn -instcombine | llvm-dis | \ +; RUN: opt %s -basicaa -gvn -instcombine | llvm-dis | \ ; RUN: not grep {ret i32 0} ; END. diff --git a/llvm/test/Analysis/BasicAA/2007-08-05-GetOverloadedModRef.ll b/llvm/test/Analysis/BasicAA/2007-08-05-GetOverloadedModRef.ll index 15aaa02a6ef913a9451c7e228e23e00679fcd403..73f4dc8e760c75e71429faf7c5fd37740fc00484 100644 --- a/llvm/test/Analysis/BasicAA/2007-08-05-GetOverloadedModRef.ll +++ b/llvm/test/Analysis/BasicAA/2007-08-05-GetOverloadedModRef.ll @@ -1,5 +1,5 @@ ; PR1600 -; RUN: llvm-as < %s | opt -basicaa -gvn -instcombine | llvm-dis | \ +; RUN: opt %s -basicaa -gvn -instcombine | llvm-dis | \ ; RUN: grep {ret i32 0} ; END. diff --git a/llvm/test/Analysis/BasicAA/2007-10-24-ArgumentsGlobals.ll b/llvm/test/Analysis/BasicAA/2007-10-24-ArgumentsGlobals.ll index 61ab80d5475a1e7a89524405c57a13cf98242ad8..cfa152b8e9d6338d34726453495ecfa670374204 100644 --- a/llvm/test/Analysis/BasicAA/2007-10-24-ArgumentsGlobals.ll +++ b/llvm/test/Analysis/BasicAA/2007-10-24-ArgumentsGlobals.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -basicaa -gvn -dce | llvm-dis | grep tmp7 +; RUN: opt %s -basicaa -gvn -dce | llvm-dis | grep tmp7 %struct.A = type { i32 } %struct.B = type { %struct.A } diff --git a/llvm/test/Analysis/BasicAA/2007-11-05-SizeCrash.ll b/llvm/test/Analysis/BasicAA/2007-11-05-SizeCrash.ll index 5a938cfef05ffb6abcbe6d49168b819b56bbf5e9..a01aec8266ff0f3d97c4d397bacf4444cf086adb 100644 --- a/llvm/test/Analysis/BasicAA/2007-11-05-SizeCrash.ll +++ b/llvm/test/Analysis/BasicAA/2007-11-05-SizeCrash.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -gvn -disable-output +; RUN: opt %s -gvn -disable-output ; PR1774 target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128" diff --git a/llvm/test/Analysis/BasicAA/2007-12-08-OutOfBoundsCrash.ll b/llvm/test/Analysis/BasicAA/2007-12-08-OutOfBoundsCrash.ll index 2f0c769ee58d6f2334d87f4aa9f39d706dfb0651..c509dc32640ebd654953ba03e35840bf67c78e0d 100644 --- a/llvm/test/Analysis/BasicAA/2007-12-08-OutOfBoundsCrash.ll +++ b/llvm/test/Analysis/BasicAA/2007-12-08-OutOfBoundsCrash.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -gvn -disable-output +; RUN: opt %s -gvn -disable-output ; PR1782 target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128" diff --git a/llvm/test/Analysis/BasicAA/2008-04-15-Byval.ll b/llvm/test/Analysis/BasicAA/2008-04-15-Byval.ll index ee16909977d187d968f7448b82be9f25630c8d0d..31ae1e8113c9b2388c330dd9f78c255ed487441c 100644 --- a/llvm/test/Analysis/BasicAA/2008-04-15-Byval.ll +++ b/llvm/test/Analysis/BasicAA/2008-04-15-Byval.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -std-compile-opts | llvm-dis | grep store +; RUN: opt %s -std-compile-opts | llvm-dis | grep store ; ModuleID = 'small2.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 = "i386-apple-darwin8" diff --git a/llvm/test/Analysis/BasicAA/2008-06-02-GEPTailCrash.ll b/llvm/test/Analysis/BasicAA/2008-06-02-GEPTailCrash.ll index 40d1e32d6730c774628fb29c3928688026dbdd7a..8e8d92c99e915cce15a3b99eb0599f5535422365 100644 --- a/llvm/test/Analysis/BasicAA/2008-06-02-GEPTailCrash.ll +++ b/llvm/test/Analysis/BasicAA/2008-06-02-GEPTailCrash.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -gvn -disable-output +; RUN: opt %s -gvn -disable-output ; PR2395 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:32:32" diff --git a/llvm/test/Analysis/BasicAA/2008-11-23-NoaliasRet.ll b/llvm/test/Analysis/BasicAA/2008-11-23-NoaliasRet.ll index d2e823ee8a48af34d78c77d34fd7594f2e285775..a0cb26a1c1fd14ef426ca84abd90db6da75796ed 100644 --- a/llvm/test/Analysis/BasicAA/2008-11-23-NoaliasRet.ll +++ b/llvm/test/Analysis/BasicAA/2008-11-23-NoaliasRet.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -aa-eval |& grep {1 no alias response} +; RUN: opt %s -aa-eval |& grep {1 no alias response} declare noalias i32* @_Znwj(i32 %x) nounwind diff --git a/llvm/test/Analysis/BasicAA/2008-12-09-GEP-IndicesAlias.ll b/llvm/test/Analysis/BasicAA/2008-12-09-GEP-IndicesAlias.ll index 967a36edcb3ac950054afda351fff13b9e131f7d..40ca09e44b7fc0a3d6b85d07a129c148c01e5b6b 100644 --- a/llvm/test/Analysis/BasicAA/2008-12-09-GEP-IndicesAlias.ll +++ b/llvm/test/Analysis/BasicAA/2008-12-09-GEP-IndicesAlias.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -aa-eval -print-all-alias-modref-info -disable-output |& grep {MustAlias:.*%R,.*%r} +; RUN: opt %s -aa-eval -print-all-alias-modref-info -disable-output |& grep {MustAlias:.*%R,.*%r} ; Make sure that basicaa thinks R and r are must aliases. define i32 @test(i8 * %P) { diff --git a/llvm/test/Analysis/BasicAA/2009-03-04-GEPNoalias.ll b/llvm/test/Analysis/BasicAA/2009-03-04-GEPNoalias.ll index f3891ec75f0892968f84633b551446062425ff37..617e01d97e9c9c2245c411c2314de202407b8dff 100644 --- a/llvm/test/Analysis/BasicAA/2009-03-04-GEPNoalias.ll +++ b/llvm/test/Analysis/BasicAA/2009-03-04-GEPNoalias.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -basicaa -gvn | llvm-dis | grep load +; RUN: opt %s -basicaa -gvn | llvm-dis | grep load declare noalias i32* @noalias() diff --git a/llvm/test/Analysis/BasicAA/byval.ll b/llvm/test/Analysis/BasicAA/byval.ll index f0644198b7db0287b8b78f678febb554764e4685..7eebb9a5ad421b28dbeb824544b18ba617eed389 100644 --- a/llvm/test/Analysis/BasicAA/byval.ll +++ b/llvm/test/Analysis/BasicAA/byval.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -gvn | llvm-dis | grep {ret i32 1} +; RUN: opt %s -gvn | llvm-dis | grep {ret i32 1} 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" %struct.x = type { i32, i32, i32, i32 } diff --git a/llvm/test/Analysis/BasicAA/cas.ll b/llvm/test/Analysis/BasicAA/cas.ll index 9bbb5e7c373ec057db130e4ed4de14d0149999ad..fb297e86085204c44ef5930bc51578a227b07af7 100644 --- a/llvm/test/Analysis/BasicAA/cas.ll +++ b/llvm/test/Analysis/BasicAA/cas.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -basicaa -gvn | llvm-dis | grep load | count 1 +; RUN: opt %s -basicaa -gvn | llvm-dis | grep load | count 1 @flag0 = internal global i32 zeroinitializer @turn = internal global i32 zeroinitializer diff --git a/llvm/test/Analysis/BasicAA/constant-over-index.ll b/llvm/test/Analysis/BasicAA/constant-over-index.ll index e92995be5e6968f881ed7474b9d8ee3f44113586..191708a009445ae9378a83547c333a4a9d4bdba7 100644 --- a/llvm/test/Analysis/BasicAA/constant-over-index.ll +++ b/llvm/test/Analysis/BasicAA/constant-over-index.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -aa-eval -print-all-alias-modref-info \ +; RUN: opt %s -aa-eval -print-all-alias-modref-info \ ; RUN: |& grep {MayAlias: double\\* \[%\]p.0.i.0, double\\* \[%\]p3\$} ; PR4267 diff --git a/llvm/test/Analysis/BasicAA/featuretest.ll b/llvm/test/Analysis/BasicAA/featuretest.ll index e807f882219feeff4efcad9b24db4bcca9622ac9..01e4708d77f2e60205ee32bd5e69539843985747 100644 --- a/llvm/test/Analysis/BasicAA/featuretest.ll +++ b/llvm/test/Analysis/BasicAA/featuretest.ll @@ -1,7 +1,7 @@ ; This testcase tests for various features the basicaa test should be able to ; determine, as noted in the comments. -; RUN: llvm-as < %s | opt -basicaa -gvn -instcombine -dce | llvm-dis | not grep REMOVE +; RUN: opt %s -basicaa -gvn -instcombine -dce | llvm-dis | not grep REMOVE @Global = external global { i32 } diff --git a/llvm/test/Analysis/BasicAA/gcsetest.ll b/llvm/test/Analysis/BasicAA/gcsetest.ll index 1d55ca9a2a94caadee6a19fd902fdab49a0f4e2c..5206b28826fc8bc9299e14451022dc9cb6f13d18 100644 --- a/llvm/test/Analysis/BasicAA/gcsetest.ll +++ b/llvm/test/Analysis/BasicAA/gcsetest.ll @@ -2,7 +2,7 @@ ; disambiguating some obvious cases. All loads should be removable in ; this testcase. -; RUN: llvm-as < %s | opt -basicaa -gvn -instcombine -dce \ +; RUN: opt %s -basicaa -gvn -instcombine -dce \ ; RUN: | llvm-dis | not grep load @A = global i32 7 diff --git a/llvm/test/Analysis/BasicAA/global-size.ll b/llvm/test/Analysis/BasicAA/global-size.ll index ce92a690d4101b3d425d4bb545935f6a122273cf..e95bc59102546d6f2a71e43e1c6f510568051bc2 100644 --- a/llvm/test/Analysis/BasicAA/global-size.ll +++ b/llvm/test/Analysis/BasicAA/global-size.ll @@ -1,7 +1,7 @@ ; A store or load cannot alias a global if the accessed amount is larger then ; the global. -; RUN: llvm-as < %s | opt -basicaa -gvn -instcombine | llvm-dis | not grep load +; RUN: opt %s -basicaa -gvn -instcombine | llvm-dis | not grep load @B = global i16 8 ; [#uses=2] diff --git a/llvm/test/Analysis/BasicAA/modref.ll b/llvm/test/Analysis/BasicAA/modref.ll index 819f956eaa10f51f6908f2169bb0838538edf6ae..5a8a2eed1536c187de6059f82928d918cec9ade0 100644 --- a/llvm/test/Analysis/BasicAA/modref.ll +++ b/llvm/test/Analysis/BasicAA/modref.ll @@ -1,5 +1,5 @@ ; A very rudimentary test on AliasAnalysis::getModRefInfo. -; RUN: llvm-as < %s | opt -print-all-alias-modref-info -aa-eval -disable-output |& \ +; RUN: opt %s -print-all-alias-modref-info -aa-eval -disable-output |& \ ; RUN: not grep NoModRef define i32 @callee() { diff --git a/llvm/test/Analysis/BasicAA/no-escape-call.ll b/llvm/test/Analysis/BasicAA/no-escape-call.ll index ab1fea78e95910394e6475f837afb71a03bd5c8a..cfe4e9f219b4048af5f06333718377fc81c13942 100644 --- a/llvm/test/Analysis/BasicAA/no-escape-call.ll +++ b/llvm/test/Analysis/BasicAA/no-escape-call.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -basicaa -gvn -instcombine | llvm-dis | grep {ret i1 true} +; RUN: opt %s -basicaa -gvn -instcombine | llvm-dis | grep {ret i1 true} ; PR2436 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128" target triple = "i386-apple-darwin8" diff --git a/llvm/test/Analysis/BasicAA/nocapture.ll b/llvm/test/Analysis/BasicAA/nocapture.ll index 0ca444c1cacbee557884b1ae0187dbccdf3d2d63..5269449c2bd1801246edd7578fa9bd0569beeac1 100644 --- a/llvm/test/Analysis/BasicAA/nocapture.ll +++ b/llvm/test/Analysis/BasicAA/nocapture.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -basicaa -gvn -instcombine | llvm-dis | grep {ret i32 0} +; RUN: opt %s -basicaa -gvn -instcombine | llvm-dis | grep {ret i32 0} declare i32* @test(i32* nocapture) diff --git a/llvm/test/Analysis/BasicAA/pure-const-dce.ll b/llvm/test/Analysis/BasicAA/pure-const-dce.ll index b01b5c5cb81c339b8b6f88b37a5bd16709c207be..ab34e16e52577a295091d7369a9225644ef0d119 100644 --- a/llvm/test/Analysis/BasicAA/pure-const-dce.ll +++ b/llvm/test/Analysis/BasicAA/pure-const-dce.ll @@ -1,6 +1,6 @@ -; RUN: llvm-as < %s | opt -basicaa -gvn | llvm-dis | grep TestConst | count 2 -; RUN: llvm-as < %s | opt -basicaa -gvn | llvm-dis | grep TestPure | count 3 -; RUN: llvm-as < %s | opt -basicaa -gvn | llvm-dis | grep TestNone | count 4 +; RUN: opt %s -basicaa -gvn | llvm-dis | grep TestConst | count 2 +; RUN: opt %s -basicaa -gvn | llvm-dis | grep TestPure | count 3 +; RUN: opt %s -basicaa -gvn | llvm-dis | grep TestNone | count 4 @g = global i32 0 ; [#uses=1] define i32 @test() { diff --git a/llvm/test/Analysis/BasicAA/store-promote.ll b/llvm/test/Analysis/BasicAA/store-promote.ll index 033a1842ce59776744a6ee83f9d08f393adb5616..196a608c33d454b9b8984ce6a5905e25e172d65b 100644 --- a/llvm/test/Analysis/BasicAA/store-promote.ll +++ b/llvm/test/Analysis/BasicAA/store-promote.ll @@ -2,7 +2,7 @@ ; disambiguating some obvious cases. If LICM is able to disambiguate the ; two pointers, then the load should be hoisted, and the store sunk. -; RUN: llvm-as < %s | opt -basicaa -licm | llvm-dis | FileCheck %s +; RUN: opt %s -basicaa -licm | llvm-dis | FileCheck %s @A = global i32 7 ; [#uses=3] @B = global i32 8 ; [#uses=2] diff --git a/llvm/test/Analysis/BasicAA/tailcall-modref.ll b/llvm/test/Analysis/BasicAA/tailcall-modref.ll index ac4ea400b0f340601c0c71d268e35aedf15748f9..dc07a1b871906a9e8af16550ee380926ebe7a1d0 100644 --- a/llvm/test/Analysis/BasicAA/tailcall-modref.ll +++ b/llvm/test/Analysis/BasicAA/tailcall-modref.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -basicaa -gvn -instcombine |\ +; RUN: opt %s -basicaa -gvn -instcombine |\ ; RUN: llvm-dis | grep {ret i32 0} declare void @foo(i32*) diff --git a/llvm/test/Analysis/CallGraph/2008-09-09-DirectCall.ll b/llvm/test/Analysis/CallGraph/2008-09-09-DirectCall.ll index 456ffa25d7bfdd1142468ef27917453e822146ee..3977a5c5b46b4b18c5eeedabd57a8fffa7cc47b4 100644 --- a/llvm/test/Analysis/CallGraph/2008-09-09-DirectCall.ll +++ b/llvm/test/Analysis/CallGraph/2008-09-09-DirectCall.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -print-callgraph -disable-output |& \ +; RUN: opt %s -print-callgraph -disable-output |& \ ; RUN: grep {Calls function 'callee'} | count 2 define internal void @callee(...) { diff --git a/llvm/test/Analysis/CallGraph/2008-09-09-UsedByGlobal.ll b/llvm/test/Analysis/CallGraph/2008-09-09-UsedByGlobal.ll index ffc27bbe43d1a8dfab08dce246b634c41447dfde..2b7bae20d68f8b4e946606e3e5dd780fee70a523 100644 --- a/llvm/test/Analysis/CallGraph/2008-09-09-UsedByGlobal.ll +++ b/llvm/test/Analysis/CallGraph/2008-09-09-UsedByGlobal.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -print-callgraph -disable-output |& \ +; RUN: opt %s -print-callgraph -disable-output |& \ ; RUN: grep {Calls function} @a = global void ()* @f ; [#uses=0] diff --git a/llvm/test/Analysis/Dominators/2006-10-02-BreakCritEdges.ll b/llvm/test/Analysis/Dominators/2006-10-02-BreakCritEdges.ll index 997ee2a8a0a6cd5108528722bfa39491abca6ff2..deb949baaa1c04d09e822acd064257857d96a9c0 100644 --- a/llvm/test/Analysis/Dominators/2006-10-02-BreakCritEdges.ll +++ b/llvm/test/Analysis/Dominators/2006-10-02-BreakCritEdges.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -domtree -break-crit-edges -analyze \ +; RUN: opt %s -domtree -break-crit-edges -analyze \ ; RUN: -domtree | grep {3.*%brtrue } ; PR932 diff --git a/llvm/test/Analysis/Dominators/2007-01-14-BreakCritEdges.ll b/llvm/test/Analysis/Dominators/2007-01-14-BreakCritEdges.ll index 697dad25cce9063e7b027c367ec5f8830858a380..191e0aa85719761ec434ceac49c895c9b98ba5f3 100644 --- a/llvm/test/Analysis/Dominators/2007-01-14-BreakCritEdges.ll +++ b/llvm/test/Analysis/Dominators/2007-01-14-BreakCritEdges.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -domtree -break-crit-edges -domtree -disable-output +; RUN: opt %s -domtree -break-crit-edges -domtree -disable-output ; PR1110 %struct.OggVorbis_File = type { i8*, i32, i64, i64, %struct.ogg_sync_state, i32, i64*, i64*, i32*, i64*, %struct.vorbis_info*, %struct.vorbis_comment*, i64, i32, i32, i32, double, double, %struct.ogg_stream_state, %struct.vorbis_dsp_state, %struct.vorbis_block, %struct.ov_callbacks } diff --git a/llvm/test/Analysis/GlobalsModRef/2008-09-03-ReadGlobals.ll b/llvm/test/Analysis/GlobalsModRef/2008-09-03-ReadGlobals.ll index aba6082c62e588c49452eba4683c9fcdd1a85874..e10d9bd5f0ee2088fa960cb6655faff6c06a8fd2 100644 --- a/llvm/test/Analysis/GlobalsModRef/2008-09-03-ReadGlobals.ll +++ b/llvm/test/Analysis/GlobalsModRef/2008-09-03-ReadGlobals.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -globalsmodref-aa -gvn | llvm-dis | grep call | count 2 +; RUN: opt %s -globalsmodref-aa -gvn | llvm-dis | grep call | count 2 @g = internal global i32 0 ; [#uses=2] diff --git a/llvm/test/Analysis/GlobalsModRef/aliastest.ll b/llvm/test/Analysis/GlobalsModRef/aliastest.ll index 5ea90fe9a3e67bd19748fe4ef50f9e81b5935476..957793d2072a79dd26e0cc675e0ec9dba9410651 100644 --- a/llvm/test/Analysis/GlobalsModRef/aliastest.ll +++ b/llvm/test/Analysis/GlobalsModRef/aliastest.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -globalsmodref-aa -gvn | llvm-dis | not grep load +; RUN: opt %s -globalsmodref-aa -gvn | llvm-dis | not grep load @X = internal global i32 4 ; [#uses=1] define i32 @test(i32* %P) { diff --git a/llvm/test/Analysis/GlobalsModRef/chaining-analysis.ll b/llvm/test/Analysis/GlobalsModRef/chaining-analysis.ll index 137b2c14d3dc151027dc6a033f48004bccdecb9e..01d86112a8acf44c56e8fece080a05ea5e83cdb8 100644 --- a/llvm/test/Analysis/GlobalsModRef/chaining-analysis.ll +++ b/llvm/test/Analysis/GlobalsModRef/chaining-analysis.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -globalsmodref-aa -gvn | llvm-dis | not grep load +; RUN: opt %s -globalsmodref-aa -gvn | llvm-dis | not grep load ; This test requires the use of previous analyses to determine that ; doesnotmodX does not modify X (because 'sin' doesn't). diff --git a/llvm/test/Analysis/GlobalsModRef/indirect-global.ll b/llvm/test/Analysis/GlobalsModRef/indirect-global.ll index ff5a0b9839d6ea10c0d60032e0093309361d07ee..dbbebc36939a9c54c14d699a73542a49daa23422 100644 --- a/llvm/test/Analysis/GlobalsModRef/indirect-global.ll +++ b/llvm/test/Analysis/GlobalsModRef/indirect-global.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -globalsmodref-aa -gvn -instcombine | llvm-dis | \ +; RUN: opt %s -globalsmodref-aa -gvn -instcombine | llvm-dis | \ ; RUN: grep {ret i32 0} @G = internal global i32* null ; [#uses=3] diff --git a/llvm/test/Analysis/GlobalsModRef/modreftest.ll b/llvm/test/Analysis/GlobalsModRef/modreftest.ll index ffcb84defad89bf4fee992f8e592aac1de94b849..f84725a3859c6c41b28463edad2e65749cf48434 100644 --- a/llvm/test/Analysis/GlobalsModRef/modreftest.ll +++ b/llvm/test/Analysis/GlobalsModRef/modreftest.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -globalsmodref-aa -gvn | llvm-dis | not grep load +; RUN: opt %s -globalsmodref-aa -gvn | llvm-dis | not grep load @X = internal global i32 4 ; [#uses=2] define i32 @test(i32* %P) { diff --git a/llvm/test/Analysis/GlobalsModRef/purecse.ll b/llvm/test/Analysis/GlobalsModRef/purecse.ll index dc3f6adda1435e492f17d20f530126cf8a70b7b4..dc75fcb10121b208cd48bac5c45576793186d0be 100644 --- a/llvm/test/Analysis/GlobalsModRef/purecse.ll +++ b/llvm/test/Analysis/GlobalsModRef/purecse.ll @@ -1,5 +1,5 @@ ; Test that pure functions are cse'd away -; RUN: llvm-as < %s | opt -globalsmodref-aa -gvn -instcombine | \ +; RUN: opt %s -globalsmodref-aa -gvn -instcombine | \ ; RUN: llvm-dis | not grep sub define i32 @pure(i32 %X) { diff --git a/llvm/test/Analysis/LoopDependenceAnalysis/alias.ll b/llvm/test/Analysis/LoopDependenceAnalysis/alias.ll index 46d38af280eb606a5e3f1ccc57a551bf86f8ab47..2bc02d217a40674b3fd8688e1fe28c2f869164de 100644 --- a/llvm/test/Analysis/LoopDependenceAnalysis/alias.ll +++ b/llvm/test/Analysis/LoopDependenceAnalysis/alias.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -disable-output -analyze -lda | FileCheck %s +; RUN: opt %s -disable-output -analyze -lda | FileCheck %s ;; x[5] = x[6] // with x being a pointer passed as argument diff --git a/llvm/test/Analysis/LoopDependenceAnalysis/siv-strong.ll b/llvm/test/Analysis/LoopDependenceAnalysis/siv-strong.ll index 7b9296edc6e0564cd5ecfd7496233aaba8ae45e7..6514e0c766b7f9baa5d6f66ed3b3c575c5e68936 100644 --- a/llvm/test/Analysis/LoopDependenceAnalysis/siv-strong.ll +++ b/llvm/test/Analysis/LoopDependenceAnalysis/siv-strong.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -disable-output -analyze -lda | FileCheck %s +; RUN: opt %s -disable-output -analyze -lda | FileCheck %s @x = common global [256 x i32] zeroinitializer, align 4 @y = common global [256 x i32] zeroinitializer, align 4 diff --git a/llvm/test/Analysis/LoopDependenceAnalysis/siv-weak-crossing.ll b/llvm/test/Analysis/LoopDependenceAnalysis/siv-weak-crossing.ll index 1e37750f7c5b1e5a319ad29ea9509af5a2522437..57484ed3eb2c2ce03c35f99b2c0eabe401c19e5a 100644 --- a/llvm/test/Analysis/LoopDependenceAnalysis/siv-weak-crossing.ll +++ b/llvm/test/Analysis/LoopDependenceAnalysis/siv-weak-crossing.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -disable-output -analyze -lda | FileCheck %s +; RUN: opt %s -disable-output -analyze -lda | FileCheck %s @x = common global [256 x i32] zeroinitializer, align 4 @y = common global [256 x i32] zeroinitializer, align 4 diff --git a/llvm/test/Analysis/LoopDependenceAnalysis/siv-weak-zero.ll b/llvm/test/Analysis/LoopDependenceAnalysis/siv-weak-zero.ll index 72fc2db375ea8db2ada0adf0df1863497bc5d286..4aa96e6ca3da4c1422bdeb4fd294ecd83ef9c6cb 100644 --- a/llvm/test/Analysis/LoopDependenceAnalysis/siv-weak-zero.ll +++ b/llvm/test/Analysis/LoopDependenceAnalysis/siv-weak-zero.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -disable-output -analyze -lda | FileCheck %s +; RUN: opt %s -disable-output -analyze -lda | FileCheck %s @x = common global [256 x i32] zeroinitializer, align 4 @y = common global [256 x i32] zeroinitializer, align 4 diff --git a/llvm/test/Analysis/LoopDependenceAnalysis/ziv.ll b/llvm/test/Analysis/LoopDependenceAnalysis/ziv.ll index 3b265ba2733499b2efbfbaa12dbef6c2af71eaef..0ee8156537326e0b46148b5ecfe58c33b4f9a03c 100644 --- a/llvm/test/Analysis/LoopDependenceAnalysis/ziv.ll +++ b/llvm/test/Analysis/LoopDependenceAnalysis/ziv.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -disable-output -analyze -lda | FileCheck %s +; RUN: opt %s -disable-output -analyze -lda | FileCheck %s @x = common global [256 x i32] zeroinitializer, align 4 diff --git a/llvm/test/Analysis/LoopInfo/2003-05-15-NestingProblem.ll b/llvm/test/Analysis/LoopInfo/2003-05-15-NestingProblem.ll index 34b9c4431810c8d8af1598281f5790ed6c7b65f8..b437266f0867b38a2efbe7f876ab9d7b1d65a0ae 100644 --- a/llvm/test/Analysis/LoopInfo/2003-05-15-NestingProblem.ll +++ b/llvm/test/Analysis/LoopInfo/2003-05-15-NestingProblem.ll @@ -1,7 +1,7 @@ ; This testcase was incorrectly computing that the loopentry.7 loop was ; not a child of the loopentry.6 loop. ; -; RUN: llvm-as < %s | opt -analyze -loops | \ +; RUN: opt %s -analyze -loops | \ ; RUN: grep {^ Loop at depth 4 containing: %loopentry.7
} define void @getAndMoveToFrontDecode() { diff --git a/llvm/test/Analysis/PointerTracking/sizes.ll b/llvm/test/Analysis/PointerTracking/sizes.ll index 5da4dcc6f86c01502ae3f182faa5a58b3a26a740..ccaeeec7393fed8fb1af3ddc4bd55f92bb7d6f39 100644 --- a/llvm/test/Analysis/PointerTracking/sizes.ll +++ b/llvm/test/Analysis/PointerTracking/sizes.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -pointertracking -analyze | FileCheck %s +; RUN: opt %s -pointertracking -analyze | FileCheck %s target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128" target triple = "x86_64-unknown-linux-gnu" @.str = internal constant [5 x i8] c"1234\00" ; <[5 x i8]*> [#uses=1] diff --git a/llvm/test/Analysis/PostDominators/2006-09-26-PostDominanceFrontier.ll b/llvm/test/Analysis/PostDominators/2006-09-26-PostDominanceFrontier.ll index b272f92499e5c9bd408eb3a16f605117cd4bd86e..8b016f6612349841f6555904e03d95dbf5d8de21 100644 --- a/llvm/test/Analysis/PostDominators/2006-09-26-PostDominanceFrontier.ll +++ b/llvm/test/Analysis/PostDominators/2006-09-26-PostDominanceFrontier.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -analyze -postdomfrontier \ +; RUN: opt %s -analyze -postdomfrontier \ ; RUN: -disable-verify ; ModuleID = '2006-09-26-PostDominanceFrontier.bc' target datalayout = "e-p:64:64" diff --git a/llvm/test/Analysis/PostDominators/2007-04-17-PostDominanceFrontier.ll b/llvm/test/Analysis/PostDominators/2007-04-17-PostDominanceFrontier.ll index 51e4c2aeb55347af8f8382b528dd254ba256b3b7..59303c67f9ced3a447cc0fcd6ab053c1c50c829a 100644 --- a/llvm/test/Analysis/PostDominators/2007-04-17-PostDominanceFrontier.ll +++ b/llvm/test/Analysis/PostDominators/2007-04-17-PostDominanceFrontier.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -postdomfrontier -disable-output +; RUN: opt %s -postdomfrontier -disable-output define void @SManager() { entry: diff --git a/llvm/test/Analysis/PostDominators/2007-04-20-PostDom-Reset.ll b/llvm/test/Analysis/PostDominators/2007-04-20-PostDom-Reset.ll index 4deec98a9ee8b7ebff7037cd4ec8da4a82f212f1..9f032610ecaa25d26047661e072d78c8cc99d16d 100644 --- a/llvm/test/Analysis/PostDominators/2007-04-20-PostDom-Reset.ll +++ b/llvm/test/Analysis/PostDominators/2007-04-20-PostDom-Reset.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -postdomfrontier -disable-output +; RUN: opt %s -postdomfrontier -disable-output define void @args_out_of_range() { entry: diff --git a/llvm/test/Analysis/PostDominators/pr1098.ll b/llvm/test/Analysis/PostDominators/pr1098.ll index b54a9fe1c75b98a29e6be80f9797e5d00dbffb9b..637142278abbd196c729f4265704377158b2b242 100644 --- a/llvm/test/Analysis/PostDominators/pr1098.ll +++ b/llvm/test/Analysis/PostDominators/pr1098.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -postdomtree -analyze | grep entry +; RUN: opt %s -postdomtree -analyze | grep entry ; PR932 define void @foo(i1 %x) { diff --git a/llvm/test/Analysis/Profiling/edge-profiling.ll b/llvm/test/Analysis/Profiling/edge-profiling.ll index f285c19e6ee360ea075fd690910ccb1023d16601..3eb805b65ed5655de0e387d354ed50bfff6141f0 100644 --- a/llvm/test/Analysis/Profiling/edge-profiling.ll +++ b/llvm/test/Analysis/Profiling/edge-profiling.ll @@ -1,5 +1,5 @@ ; Test the edge profiling instrumentation. -; RUN: llvm-as < %s | opt -insert-edge-profiling | llvm-dis | FileCheck %s +; RUN: opt %s -insert-edge-profiling | llvm-dis | FileCheck %s ; ModuleID = '' diff --git a/llvm/test/Analysis/ScalarEvolution/2007-07-15-NegativeStride.ll b/llvm/test/Analysis/ScalarEvolution/2007-07-15-NegativeStride.ll index bf27e7753538ca30d3c668957de97463a505ec66..ee7cce132acc773fcf85f29c0c5315ccbba3c6b8 100644 --- a/llvm/test/Analysis/ScalarEvolution/2007-07-15-NegativeStride.ll +++ b/llvm/test/Analysis/ScalarEvolution/2007-07-15-NegativeStride.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -analyze -scalar-evolution -disable-output \ +; RUN: opt %s -analyze -scalar-evolution -disable-output \ ; RUN: -scalar-evolution-max-iterations=0 | grep {Loop bb: backedge-taken count is 100} ; PR1533 diff --git a/llvm/test/Analysis/ScalarEvolution/2007-08-06-MisinterpretBranch.ll b/llvm/test/Analysis/ScalarEvolution/2007-08-06-MisinterpretBranch.ll index e3393d5eed622fdbcde8169c035bd62de8599741..caea9e4406543d722b2816797666260d5e1be5fb 100644 --- a/llvm/test/Analysis/ScalarEvolution/2007-08-06-MisinterpretBranch.ll +++ b/llvm/test/Analysis/ScalarEvolution/2007-08-06-MisinterpretBranch.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -indvars -adce -simplifycfg | llvm-dis | grep "icmp s" +; RUN: opt %s -indvars -adce -simplifycfg | llvm-dis | grep "icmp s" ; PR1598 define i32 @f(i32 %a, i32 %b, i32 %x, i32 %y) { diff --git a/llvm/test/Analysis/ScalarEvolution/2007-08-06-Unsigned.ll b/llvm/test/Analysis/ScalarEvolution/2007-08-06-Unsigned.ll index 95f932a9a581c7c3ab48dfbf9bb444706188fd58..6813b9014d7b8180952b1a042d19495f921f1844 100644 --- a/llvm/test/Analysis/ScalarEvolution/2007-08-06-Unsigned.ll +++ b/llvm/test/Analysis/ScalarEvolution/2007-08-06-Unsigned.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -scalar-evolution -analyze -disable-output | grep {Loop bb: backedge-taken count is (-1 + (-1 \\* %x) + %y)} +; RUN: opt %s -scalar-evolution -analyze -disable-output | grep {Loop bb: backedge-taken count is (-1 + (-1 \\* %x) + %y)} ; PR1597 define i32 @f(i32 %x, i32 %y) { diff --git a/llvm/test/Analysis/ScalarEvolution/2007-09-27-LargeStepping.ll b/llvm/test/Analysis/ScalarEvolution/2007-09-27-LargeStepping.ll index e5e47d549f53b70129e2eac495445d10a4bbd9aa..9b490bf2dc174e8badcc60cdea2766650ed23786 100644 --- a/llvm/test/Analysis/ScalarEvolution/2007-09-27-LargeStepping.ll +++ b/llvm/test/Analysis/ScalarEvolution/2007-09-27-LargeStepping.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -analyze -scalar-evolution -disable-output \ +; RUN: opt %s -analyze -scalar-evolution -disable-output \ ; RUN: -scalar-evolution-max-iterations=0 | grep {backedge-taken count is 13} ; PR1706 diff --git a/llvm/test/Analysis/ScalarEvolution/2007-11-14-SignedAddRec.ll b/llvm/test/Analysis/ScalarEvolution/2007-11-14-SignedAddRec.ll index 66ca7551c240e6c5d59d1c5c4814d82ebefeb3b6..ff46b87bebdc1f6dd37613defbfe07a112f4783a 100644 --- a/llvm/test/Analysis/ScalarEvolution/2007-11-14-SignedAddRec.ll +++ b/llvm/test/Analysis/ScalarEvolution/2007-11-14-SignedAddRec.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -indvars | llvm-dis | grep printd | grep 1206807378 +; RUN: opt %s -indvars | llvm-dis | grep printd | grep 1206807378 ; PR1798 declare void @printd(i32) diff --git a/llvm/test/Analysis/ScalarEvolution/2007-11-18-OrInstruction.ll b/llvm/test/Analysis/ScalarEvolution/2007-11-18-OrInstruction.ll index 01f338a29c2731daeb5779b3edebc73067b9a8b1..567e61338841d52ba714fb087aaeec5ed347cc93 100644 --- a/llvm/test/Analysis/ScalarEvolution/2007-11-18-OrInstruction.ll +++ b/llvm/test/Analysis/ScalarEvolution/2007-11-18-OrInstruction.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -analyze -scalar-evolution -disable-output | grep -e {--> %b} +; RUN: opt %s -analyze -scalar-evolution -disable-output | grep -e {--> %b} ; PR1810 define void @fun() { diff --git a/llvm/test/Analysis/ScalarEvolution/2008-02-11-ReversedCondition.ll b/llvm/test/Analysis/ScalarEvolution/2008-02-11-ReversedCondition.ll index b9a53b318bf5bdca4eda8c83b8fded62e612fc31..fb6092cd4bb62799e857624cf246680971f7cba2 100644 --- a/llvm/test/Analysis/ScalarEvolution/2008-02-11-ReversedCondition.ll +++ b/llvm/test/Analysis/ScalarEvolution/2008-02-11-ReversedCondition.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -scalar-evolution -analyze -disable-output | grep {Loop header: backedge-taken count is (0 smax %n)} +; RUN: opt %s -scalar-evolution -analyze -disable-output | grep {Loop header: backedge-taken count is (0 smax %n)} define void @foo(i32 %n) { entry: diff --git a/llvm/test/Analysis/ScalarEvolution/2008-02-12-SMAXTripCount.ll b/llvm/test/Analysis/ScalarEvolution/2008-02-12-SMAXTripCount.ll index b943bc7d4c61c73a1ad02b496e643543e1791859..5266df8825333c84668085f1c22208fa36c0519c 100644 --- a/llvm/test/Analysis/ScalarEvolution/2008-02-12-SMAXTripCount.ll +++ b/llvm/test/Analysis/ScalarEvolution/2008-02-12-SMAXTripCount.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -scalar-evolution -analyze -disable-output | grep {Loop loop: backedge-taken count is (100 + (-100 smax %n))} +; RUN: opt %s -scalar-evolution -analyze -disable-output | grep {Loop loop: backedge-taken count is (100 + (-100 smax %n))} ; PR2002 define void @foo(i8 %n) { diff --git a/llvm/test/Analysis/ScalarEvolution/2008-02-15-UMax.ll b/llvm/test/Analysis/ScalarEvolution/2008-02-15-UMax.ll index 59b51093f40a90760066b5ae3aebeb15015be086..3ccd79b01322280f2b145457b3cfe3ad04167471 100644 --- a/llvm/test/Analysis/ScalarEvolution/2008-02-15-UMax.ll +++ b/llvm/test/Analysis/ScalarEvolution/2008-02-15-UMax.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -analyze -scalar-evolution -disable-output | grep umax +; RUN: opt %s -analyze -scalar-evolution -disable-output | grep umax ; PR2003 define i32 @foo(i32 %n) { diff --git a/llvm/test/Analysis/ScalarEvolution/2008-05-25-NegativeStepToZero.ll b/llvm/test/Analysis/ScalarEvolution/2008-05-25-NegativeStepToZero.ll index 5453ae3ae80ba16b9d2673d56a63543c17b45a82..42472fd22a7a83715d60d0be5e0065dce1807f06 100644 --- a/llvm/test/Analysis/ScalarEvolution/2008-05-25-NegativeStepToZero.ll +++ b/llvm/test/Analysis/ScalarEvolution/2008-05-25-NegativeStepToZero.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -analyze -scalar-evolution -disable-output \ +; RUN: opt %s -analyze -scalar-evolution -disable-output \ ; RUN: -scalar-evolution-max-iterations=0 | grep {backedge-taken count is 61} ; PR2364 diff --git a/llvm/test/Analysis/ScalarEvolution/2008-06-12-BinomialInt64.ll b/llvm/test/Analysis/ScalarEvolution/2008-06-12-BinomialInt64.ll index cbe5c97905ceee77cf53724bc66e7b5af745b611..2aa55576fe8fc92a5eb918a07525ff5b97713e22 100644 --- a/llvm/test/Analysis/ScalarEvolution/2008-06-12-BinomialInt64.ll +++ b/llvm/test/Analysis/ScalarEvolution/2008-06-12-BinomialInt64.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -analyze -scalar-evolution 2>/dev/null +; RUN: opt %s -analyze -scalar-evolution 2>/dev/null ; PR2433 define i32 @main1(i32 %argc, i8** %argv) nounwind { diff --git a/llvm/test/Analysis/ScalarEvolution/2008-07-12-UnneededSelect1.ll b/llvm/test/Analysis/ScalarEvolution/2008-07-12-UnneededSelect1.ll index 6ba0f25eb06127c1162ba94ce716efe192c57066..0768eaf702e572daaf78d5cb33a4c4ed33cf3663 100644 --- a/llvm/test/Analysis/ScalarEvolution/2008-07-12-UnneededSelect1.ll +++ b/llvm/test/Analysis/ScalarEvolution/2008-07-12-UnneededSelect1.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -analyze -scalar-evolution -disable-output |& not grep smax +; RUN: opt %s -analyze -scalar-evolution -disable-output |& not grep smax ; PR2261 @lut = common global [256 x i8] zeroinitializer, align 32 ; <[256 x i8]*> [#uses=1] diff --git a/llvm/test/Analysis/ScalarEvolution/2008-07-12-UnneededSelect2.ll b/llvm/test/Analysis/ScalarEvolution/2008-07-12-UnneededSelect2.ll index 3c022e7181bdd8c27400c1030f7373db1420f365..66f4a8c005cb7088de4cdeb184d1ae7c813b692d 100644 --- a/llvm/test/Analysis/ScalarEvolution/2008-07-12-UnneededSelect2.ll +++ b/llvm/test/Analysis/ScalarEvolution/2008-07-12-UnneededSelect2.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -analyze -scalar-evolution -disable-output |& not grep smax +; RUN: opt %s -analyze -scalar-evolution -disable-output |& not grep smax ; PR2070 define i32 @a(i32 %x) nounwind { diff --git a/llvm/test/Analysis/ScalarEvolution/2008-07-19-InfiniteLoop.ll b/llvm/test/Analysis/ScalarEvolution/2008-07-19-InfiniteLoop.ll index 5dcad53f6a60aa7c2817314f280069daf58243ee..64b92971ae4c16819d7b841e9c8fd0a6a4d7bbb3 100644 --- a/llvm/test/Analysis/ScalarEvolution/2008-07-19-InfiniteLoop.ll +++ b/llvm/test/Analysis/ScalarEvolution/2008-07-19-InfiniteLoop.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -analyze -scalar-evolution -disable-output \ +; RUN: opt %s -analyze -scalar-evolution -disable-output \ ; RUN: -scalar-evolution-max-iterations=0 | grep Unpredictable ; PR2088 diff --git a/llvm/test/Analysis/ScalarEvolution/2008-07-19-WrappingIV.ll b/llvm/test/Analysis/ScalarEvolution/2008-07-19-WrappingIV.ll index 54c929dcdaf635ac138c079a711ed605d639bed6..116e6da85abc37c56f53a256498e42726b3e11f6 100644 --- a/llvm/test/Analysis/ScalarEvolution/2008-07-19-WrappingIV.ll +++ b/llvm/test/Analysis/ScalarEvolution/2008-07-19-WrappingIV.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -analyze -scalar-evolution -disable-output \ +; RUN: opt %s -analyze -scalar-evolution -disable-output \ ; RUN: -scalar-evolution-max-iterations=0 | grep {backedge-taken count is 113} ; PR2088 diff --git a/llvm/test/Analysis/ScalarEvolution/2008-07-29-SGTTripCount.ll b/llvm/test/Analysis/ScalarEvolution/2008-07-29-SGTTripCount.ll index 527b8b0add23e801fd7265473ed00fd62c2ef2fd..4ab5735a591ab29e681936056e1e1e70499f0ac2 100644 --- a/llvm/test/Analysis/ScalarEvolution/2008-07-29-SGTTripCount.ll +++ b/llvm/test/Analysis/ScalarEvolution/2008-07-29-SGTTripCount.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -analyze -scalar-evolution -disable-output \ +; RUN: opt %s -analyze -scalar-evolution -disable-output \ ; RUN: -scalar-evolution-max-iterations=0 | \ ; RUN: grep -F "backedge-taken count is (-1 + (-1 * %j))" ; PR2607 diff --git a/llvm/test/Analysis/ScalarEvolution/2008-07-29-SMinExpr.ll b/llvm/test/Analysis/ScalarEvolution/2008-07-29-SMinExpr.ll index 9051dc7ec515d5cf0fc77c36b191380476802a39..5917a5a9591b814e2d6382d88dfe719bc643565e 100644 --- a/llvm/test/Analysis/ScalarEvolution/2008-07-29-SMinExpr.ll +++ b/llvm/test/Analysis/ScalarEvolution/2008-07-29-SMinExpr.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -analyze -scalar-evolution -disable-output \ +; RUN: opt %s -analyze -scalar-evolution -disable-output \ ; RUN: -scalar-evolution-max-iterations=0 | \ ; RUN: grep -F "backedge-taken count is (-2147483632 + ((-1 + (-1 * %x)) smax (-1 + (-1 * %y))))" ; PR2607 diff --git a/llvm/test/Analysis/ScalarEvolution/2008-08-04-IVOverflow.ll b/llvm/test/Analysis/ScalarEvolution/2008-08-04-IVOverflow.ll index f8e1cfcd7fbe43c417a5ec309c3433aa9a98a7e4..afea1bca122256941335d9a4eb68e6118ac7a265 100644 --- a/llvm/test/Analysis/ScalarEvolution/2008-08-04-IVOverflow.ll +++ b/llvm/test/Analysis/ScalarEvolution/2008-08-04-IVOverflow.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -analyze -scalar-evolution -disable-output \ +; RUN: opt %s -analyze -scalar-evolution -disable-output \ ; RUN: -scalar-evolution-max-iterations=0 | grep -F "Exits: 20028" ; PR2621 diff --git a/llvm/test/Analysis/ScalarEvolution/2008-08-04-LongAddRec.ll b/llvm/test/Analysis/ScalarEvolution/2008-08-04-LongAddRec.ll index fbd249fbc0406c3fbb2b34546d44fe984db5547a..775ecc7ca34c90ac44d7fbbf8d6e3e48f66fecff 100644 --- a/llvm/test/Analysis/ScalarEvolution/2008-08-04-LongAddRec.ll +++ b/llvm/test/Analysis/ScalarEvolution/2008-08-04-LongAddRec.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -analyze -scalar-evolution -disable-output \ +; RUN: opt %s -analyze -scalar-evolution -disable-output \ ; RUN: -scalar-evolution-max-iterations=0 | grep -F "Exits: -19168" ; PR2621 diff --git a/llvm/test/Analysis/ScalarEvolution/2008-11-02-QuadraticCrash.ll b/llvm/test/Analysis/ScalarEvolution/2008-11-02-QuadraticCrash.ll index 1e9d0bfc9c23165832d43d029251a96be4d33c4e..d8ae095f2818e1067e1bbe42bf51b49a8a7a5e02 100644 --- a/llvm/test/Analysis/ScalarEvolution/2008-11-02-QuadraticCrash.ll +++ b/llvm/test/Analysis/ScalarEvolution/2008-11-02-QuadraticCrash.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -analyze -scalar-evolution -disable-output +; RUN: opt %s -analyze -scalar-evolution -disable-output ; PR1827 declare void @use(i32) diff --git a/llvm/test/Analysis/ScalarEvolution/2008-11-15-CubicOOM.ll b/llvm/test/Analysis/ScalarEvolution/2008-11-15-CubicOOM.ll index c0b3a1fe01b2a944d31401fba5f221316cdd1f17..cd02ec96663a1d4bcb310e18719b66c5fee7f4dc 100644 --- a/llvm/test/Analysis/ScalarEvolution/2008-11-15-CubicOOM.ll +++ b/llvm/test/Analysis/ScalarEvolution/2008-11-15-CubicOOM.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -analyze -scalar-evolution -disable-output +; RUN: opt %s -analyze -scalar-evolution -disable-output ; PR2602 define i32 @a() nounwind { diff --git a/llvm/test/Analysis/ScalarEvolution/2008-11-18-LessThanOrEqual.ll b/llvm/test/Analysis/ScalarEvolution/2008-11-18-LessThanOrEqual.ll index 56d1fe7b541dde1a8ae2a001e9b638453e224938..8be6f2cae25073abd5e5154c93d53194eb0b3ad8 100644 --- a/llvm/test/Analysis/ScalarEvolution/2008-11-18-LessThanOrEqual.ll +++ b/llvm/test/Analysis/ScalarEvolution/2008-11-18-LessThanOrEqual.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -analyze -scalar-evolution -disable-output |& \ +; RUN: opt %s -analyze -scalar-evolution -disable-output |& \ ; RUN: grep {Loop bb: backedge-taken count is (7 + (-1 \\* %argc))} ; XFAIL: * diff --git a/llvm/test/Analysis/ScalarEvolution/2008-11-18-Stride1.ll b/llvm/test/Analysis/ScalarEvolution/2008-11-18-Stride1.ll index 8fb1604fd190f48a5751f0e3ae505ce4d716c825..4c89a3bfd778bd9b750862e957b037088179c93c 100644 --- a/llvm/test/Analysis/ScalarEvolution/2008-11-18-Stride1.ll +++ b/llvm/test/Analysis/ScalarEvolution/2008-11-18-Stride1.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -analyze -scalar-evolution -disable-output \ +; RUN: opt %s -analyze -scalar-evolution -disable-output \ ; RUN: | grep {Loop bb: Unpredictable backedge-taken count\\.} ; ScalarEvolution can't compute a trip count because it doesn't know if diff --git a/llvm/test/Analysis/ScalarEvolution/2008-11-18-Stride2.ll b/llvm/test/Analysis/ScalarEvolution/2008-11-18-Stride2.ll index d506f9c3f82f5fc20b8e5ef037a0abd908b8245a..23e9630fefaca73a2100cfe4d3281ec1dc72d6f2 100644 --- a/llvm/test/Analysis/ScalarEvolution/2008-11-18-Stride2.ll +++ b/llvm/test/Analysis/ScalarEvolution/2008-11-18-Stride2.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -analyze -scalar-evolution -disable-output |& grep {/u 3} +; RUN: opt %s -analyze -scalar-evolution -disable-output |& grep {/u 3} ; XFAIL: * define i32 @f(i32 %x) nounwind readnone { diff --git a/llvm/test/Analysis/ScalarEvolution/2008-12-08-FiniteSGE.ll b/llvm/test/Analysis/ScalarEvolution/2008-12-08-FiniteSGE.ll index 643d2f835b8c0afbed20c7b7294ad6834642eddf..cbab6a61d6798666d5c6d62018d1bae1c301da4d 100644 --- a/llvm/test/Analysis/ScalarEvolution/2008-12-08-FiniteSGE.ll +++ b/llvm/test/Analysis/ScalarEvolution/2008-12-08-FiniteSGE.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -analyze -scalar-evolution -disable-output | grep {backedge-taken count is 255} +; RUN: opt %s -analyze -scalar-evolution -disable-output | grep {backedge-taken count is 255} ; XFAIL: * define i32 @foo(i32 %x, i32 %y, i32* %lam, i32* %alp) nounwind { diff --git a/llvm/test/Analysis/ScalarEvolution/2008-12-11-SMaxOverflow.ll b/llvm/test/Analysis/ScalarEvolution/2008-12-11-SMaxOverflow.ll index 995a1d95a8a89bfaea4e37e231cf2e87ccb9febc..03b67c3712317948e3926a3ce2c7d24d6f6fd08f 100644 --- a/llvm/test/Analysis/ScalarEvolution/2008-12-11-SMaxOverflow.ll +++ b/llvm/test/Analysis/ScalarEvolution/2008-12-11-SMaxOverflow.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -analyze -scalar-evolution -disable-output | grep {0 smax} +; RUN: opt %s -analyze -scalar-evolution -disable-output | grep {0 smax} ; XFAIL: * define i32 @f(i32 %c.idx.val) { diff --git a/llvm/test/Analysis/ScalarEvolution/2008-12-14-StrideAndSigned.ll b/llvm/test/Analysis/ScalarEvolution/2008-12-14-StrideAndSigned.ll index 8e064c70da9a0ec884edf8f5c465b19f730a4854..7e0f452e4ba94e347ab512a253649c990529e6d8 100644 --- a/llvm/test/Analysis/ScalarEvolution/2008-12-14-StrideAndSigned.ll +++ b/llvm/test/Analysis/ScalarEvolution/2008-12-14-StrideAndSigned.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -analyze -scalar-evolution -disable-output |& \ +; RUN: opt %s -analyze -scalar-evolution -disable-output |& \ ; RUN: grep {(((-1 \\* %i0) + (100005 smax %i0)) /u 5)} ; XFAIL: * diff --git a/llvm/test/Analysis/ScalarEvolution/2008-12-15-DontUseSDiv.ll b/llvm/test/Analysis/ScalarEvolution/2008-12-15-DontUseSDiv.ll index 950c1d21d910ae33898809c8e2260001d7f96a01..e25183c0816126568f1b2c823b45dab6ba68e621 100644 --- a/llvm/test/Analysis/ScalarEvolution/2008-12-15-DontUseSDiv.ll +++ b/llvm/test/Analysis/ScalarEvolution/2008-12-15-DontUseSDiv.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -analyze -scalar-evolution -disable-output |& grep {/u 5} +; RUN: opt %s -analyze -scalar-evolution -disable-output |& grep {/u 5} ; XFAIL: * define i8 @foo0(i8 %i0) nounwind { diff --git a/llvm/test/Analysis/ScalarEvolution/2009-01-02-SignedNegativeStride.ll b/llvm/test/Analysis/ScalarEvolution/2009-01-02-SignedNegativeStride.ll index 65c4cdbb1362dcfe94cf65574c114401b9f32a75..01a3605c0dc10d9e8e0e3bfe917bb71db312399c 100644 --- a/llvm/test/Analysis/ScalarEvolution/2009-01-02-SignedNegativeStride.ll +++ b/llvm/test/Analysis/ScalarEvolution/2009-01-02-SignedNegativeStride.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -analyze -scalar-evolution -disable-output | not grep {/u -1} +; RUN: opt %s -analyze -scalar-evolution -disable-output | not grep {/u -1} ; PR3275 @g_16 = external global i16 ; [#uses=3] diff --git a/llvm/test/Analysis/ScalarEvolution/2009-04-22-TruncCast.ll b/llvm/test/Analysis/ScalarEvolution/2009-04-22-TruncCast.ll index 6aced23cf9500bb05c4a6182f31299075a5ec39f..f8409d3e2cde0d1a43cdc472703bb782fd1d19f6 100644 --- a/llvm/test/Analysis/ScalarEvolution/2009-04-22-TruncCast.ll +++ b/llvm/test/Analysis/ScalarEvolution/2009-04-22-TruncCast.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -analyze -scalar-evolution -disable-output | grep {(trunc i} | not grep ext +; RUN: opt %s -analyze -scalar-evolution -disable-output | grep {(trunc i} | not grep ext define i16 @test1(i8 %x) { %A = sext i8 %x to i32 diff --git a/llvm/test/Analysis/ScalarEvolution/2009-05-09-PointerEdgeCount.ll b/llvm/test/Analysis/ScalarEvolution/2009-05-09-PointerEdgeCount.ll index 5e5128bd577a6b5e3183087167d3f903ab45f7bf..4261984025ef80ca52de36622ce01f1c92638240 100644 --- a/llvm/test/Analysis/ScalarEvolution/2009-05-09-PointerEdgeCount.ll +++ b/llvm/test/Analysis/ScalarEvolution/2009-05-09-PointerEdgeCount.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -analyze -scalar-evolution -disable-output | grep {count is 2} +; RUN: opt %s -analyze -scalar-evolution -disable-output | grep {count is 2} ; PR3171 %struct.Foo = type { i32 } diff --git a/llvm/test/Analysis/ScalarEvolution/2009-07-04-GroupConstantsWidthMismatch.ll b/llvm/test/Analysis/ScalarEvolution/2009-07-04-GroupConstantsWidthMismatch.ll index b5d588e01ad54d8055b349fe67f81ec7fce673ab..c20940584840e597ba15bed52ea08c858c3fd9a1 100644 --- a/llvm/test/Analysis/ScalarEvolution/2009-07-04-GroupConstantsWidthMismatch.ll +++ b/llvm/test/Analysis/ScalarEvolution/2009-07-04-GroupConstantsWidthMismatch.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -analyze -scalar-evolution +; RUN: opt %s -analyze -scalar-evolution ; PR4501 define void @test() { diff --git a/llvm/test/Analysis/ScalarEvolution/SolveQuadraticEquation.ll b/llvm/test/Analysis/ScalarEvolution/SolveQuadraticEquation.ll index 27a546f32e8279920712244e74bc2ae3541a81fd..6b94c8a736ea89349599ccabac2a74b52188eff6 100644 --- a/llvm/test/Analysis/ScalarEvolution/SolveQuadraticEquation.ll +++ b/llvm/test/Analysis/ScalarEvolution/SolveQuadraticEquation.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -analyze -scalar-evolution -disable-output \ +; RUN: opt %s -analyze -scalar-evolution -disable-output \ ; RUN: -scalar-evolution-max-iterations=0 | grep {backedge-taken count is 100} ; PR1101 diff --git a/llvm/test/Analysis/ScalarEvolution/and-xor.ll b/llvm/test/Analysis/ScalarEvolution/and-xor.ll index 94cca83ea74dbbd8a6d7c493debde0a6b5940cfb..767194c8bd9a5ddbf4e6dc25989fb02e7222a5f8 100644 --- a/llvm/test/Analysis/ScalarEvolution/and-xor.ll +++ b/llvm/test/Analysis/ScalarEvolution/and-xor.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -scalar-evolution -analyze -disable-output \ +; RUN: opt %s -scalar-evolution -analyze -disable-output \ ; RUN: | grep {\\--> (zext} | count 2 define i32 @foo(i32 %x) { diff --git a/llvm/test/Analysis/ScalarEvolution/avoid-infinite-recursion-0.ll b/llvm/test/Analysis/ScalarEvolution/avoid-infinite-recursion-0.ll index 3fe033676c6ee264b3bc3740b1c0d43d7ea4bfb2..0db3f9722231d6a3eb51ec628765085352b3fa50 100644 --- a/llvm/test/Analysis/ScalarEvolution/avoid-infinite-recursion-0.ll +++ b/llvm/test/Analysis/ScalarEvolution/avoid-infinite-recursion-0.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -analyze -scalar-evolution -disable-output +; RUN: opt %s -analyze -scalar-evolution -disable-output ; PR4537 ; ModuleID = 'b.bc' diff --git a/llvm/test/Analysis/ScalarEvolution/avoid-infinite-recursion-1.ll b/llvm/test/Analysis/ScalarEvolution/avoid-infinite-recursion-1.ll index 121e0acd6aed51ae850ae1ce1066ade161c03d72..5c6133ecf09c93fbdd3302ee8faac40980d39463 100644 --- a/llvm/test/Analysis/ScalarEvolution/avoid-infinite-recursion-1.ll +++ b/llvm/test/Analysis/ScalarEvolution/avoid-infinite-recursion-1.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -iv-users +; RUN: opt %s -iv-users ; PR4538 ; ModuleID = 'bugpoint-reduced-simplified.bc' diff --git a/llvm/test/Analysis/ScalarEvolution/avoid-smax-0.ll b/llvm/test/Analysis/ScalarEvolution/avoid-smax-0.ll index ce7ee7791d581e3ff62e253c89a7d1b436ea0522..e3056846c837107a910c41cf5ad8158c40cb0716 100644 --- a/llvm/test/Analysis/ScalarEvolution/avoid-smax-0.ll +++ b/llvm/test/Analysis/ScalarEvolution/avoid-smax-0.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -scalar-evolution -analyze -disable-output | grep {Loop bb3: backedge-taken count is (-1 + %n)} +; RUN: opt %s -scalar-evolution -analyze -disable-output | grep {Loop bb3: backedge-taken count is (-1 + %n)} ; We don't want to use a max in the trip count expression in ; this testcase. diff --git a/llvm/test/Analysis/ScalarEvolution/avoid-smax-1.ll b/llvm/test/Analysis/ScalarEvolution/avoid-smax-1.ll index 74117cf8f44c39fed38c9984a910c285c5cdf826..5d30d61f1297472193c180e3c7f0304ebbda6d1c 100644 --- a/llvm/test/Analysis/ScalarEvolution/avoid-smax-1.ll +++ b/llvm/test/Analysis/ScalarEvolution/avoid-smax-1.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -indvars | llvm-dis > %t +; RUN: opt %s -indvars | llvm-dis > %t ; RUN: grep select %t | count 2 ; RUN: grep {icmp ne i32.\* %w } %t diff --git a/llvm/test/Analysis/ScalarEvolution/div-overflow.ll b/llvm/test/Analysis/ScalarEvolution/div-overflow.ll index cb64b856a7779b185c49711ea46fa96ec20af30f..5d8dbd3a42d7272323e62803d4b516483dc730f8 100644 --- a/llvm/test/Analysis/ScalarEvolution/div-overflow.ll +++ b/llvm/test/Analysis/ScalarEvolution/div-overflow.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -scalar-evolution -analyze -disable-output \ +; RUN: opt %s -scalar-evolution -analyze -disable-output \ ; RUN: | grep {\\--> ((-128 \\* %a) /u -128)} ; Don't let ScalarEvolution fold this div away. diff --git a/llvm/test/Analysis/ScalarEvolution/do-loop.ll b/llvm/test/Analysis/ScalarEvolution/do-loop.ll index 85c38e4f1c5abd595d491b62763897e947f16a72..d820664e7c4634a3b6cebe43cf87f6db2c05c464 100644 --- a/llvm/test/Analysis/ScalarEvolution/do-loop.ll +++ b/llvm/test/Analysis/ScalarEvolution/do-loop.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -analyze -scalar-evolution -disable-output | grep smax +; RUN: opt %s -analyze -scalar-evolution -disable-output | grep smax ; PR1614 define i32 @f(i32 %x, i32 %y) { diff --git a/llvm/test/Analysis/ScalarEvolution/max-trip-count.ll b/llvm/test/Analysis/ScalarEvolution/max-trip-count.ll index 8791bb5fcbeaa1cdf58e5cd90cd02eefd56f9fd8..47d7da19d672b769a446b1876457da1090ce1dbb 100644 --- a/llvm/test/Analysis/ScalarEvolution/max-trip-count.ll +++ b/llvm/test/Analysis/ScalarEvolution/max-trip-count.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -analyze -scalar-evolution -disable-output \ +; RUN: opt %s -analyze -scalar-evolution -disable-output \ ; RUN: | grep {\{%d,+,\[^\{\}\]\*\}} ; ScalarEvolution should be able to understand the loop and eliminate the casts. diff --git a/llvm/test/Analysis/ScalarEvolution/nsw.ll b/llvm/test/Analysis/ScalarEvolution/nsw.ll index 26528c930027327d5e5724a003813a4161060d2e..ce34662fedbac0e6f90399272a0cec86ec56cfd6 100644 --- a/llvm/test/Analysis/ScalarEvolution/nsw.ll +++ b/llvm/test/Analysis/ScalarEvolution/nsw.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -analyze -scalar-evolution -disable-output | grep { --> {.*,+,.*}} | count 8 +; RUN: opt %s -analyze -scalar-evolution -disable-output | grep { --> {.*,+,.*}} | count 8 ; The addrecs in this loop are analyzable only by using nsw information. diff --git a/llvm/test/Analysis/ScalarEvolution/pointer-sign-bits.ll b/llvm/test/Analysis/ScalarEvolution/pointer-sign-bits.ll index 05cb81b3ba6bfe4dcf2bc9ad2868e5e85227eea7..a440ac92848d9ead1fb4b78a93c64839add9660a 100644 --- a/llvm/test/Analysis/ScalarEvolution/pointer-sign-bits.ll +++ b/llvm/test/Analysis/ScalarEvolution/pointer-sign-bits.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -analyze -scalar-evolution -disable-output +; RUN: opt %s -analyze -scalar-evolution -disable-output target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:32:32" %JavaObject = type { [0 x i32 (...)*]*, i8* } diff --git a/llvm/test/Analysis/ScalarEvolution/pr3909.ll b/llvm/test/Analysis/ScalarEvolution/pr3909.ll index 80720c724afb845a40f4353280c0ff12d8145ec2..79172243fbb4f9a852ec8bb0462e0cbca9932f7d 100644 --- a/llvm/test/Analysis/ScalarEvolution/pr3909.ll +++ b/llvm/test/Analysis/ScalarEvolution/pr3909.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -indvars -disable-output +; RUN: opt %s -indvars -disable-output ; PR 3909 diff --git a/llvm/test/Analysis/ScalarEvolution/scev-aa.ll b/llvm/test/Analysis/ScalarEvolution/scev-aa.ll index 2208b3db4d75b2dc23645c259cc8e75dc9d5f90c..60ffaf2685cb7e779a92123f211838fa610637be 100644 --- a/llvm/test/Analysis/ScalarEvolution/scev-aa.ll +++ b/llvm/test/Analysis/ScalarEvolution/scev-aa.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -scev-aa -aa-eval -print-all-alias-modref-info \ +; RUN: opt %s -scev-aa -aa-eval -print-all-alias-modref-info \ ; RUN: |& FileCheck %s ; At the time of this writing, all of these CHECK lines are cases that diff --git a/llvm/test/Analysis/ScalarEvolution/sext-inreg.ll b/llvm/test/Analysis/ScalarEvolution/sext-inreg.ll index 8a88f0f7d9678561f3af2301f0fc37e17604ade8..6929f3dcfb989befc90cffde1588370a725d85f0 100644 --- a/llvm/test/Analysis/ScalarEvolution/sext-inreg.ll +++ b/llvm/test/Analysis/ScalarEvolution/sext-inreg.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -analyze -scalar-evolution -disable-output > %t +; RUN: opt %s -analyze -scalar-evolution -disable-output > %t ; RUN: grep {sext i57 \{0,+,199\} to i64} %t | count 1 ; RUN: grep {sext i59 \{0,+,199\} to i64} %t | count 1 diff --git a/llvm/test/Analysis/ScalarEvolution/sext-iv-0.ll b/llvm/test/Analysis/ScalarEvolution/sext-iv-0.ll index 17f2dffdbfcf69fd5ec51a23a8b572dcbda15176..dde291f3737504501ab897b3e26dea3833624bdd 100644 --- a/llvm/test/Analysis/ScalarEvolution/sext-iv-0.ll +++ b/llvm/test/Analysis/ScalarEvolution/sext-iv-0.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -disable-output -scalar-evolution -analyze \ +; RUN: opt %s -disable-output -scalar-evolution -analyze \ ; RUN: | grep { --> \{-128,+,1\} Exits: 127} | count 5 ; Convert (sext {-128,+,1}) to {sext(-128),+,sext(1)}, since the diff --git a/llvm/test/Analysis/ScalarEvolution/sext-iv-1.ll b/llvm/test/Analysis/ScalarEvolution/sext-iv-1.ll index ca6ad0aaba12108c7b3afe79c74fcc689666d138..fdbdfb7f690b2bd667913336369689d3893c2779 100644 --- a/llvm/test/Analysis/ScalarEvolution/sext-iv-1.ll +++ b/llvm/test/Analysis/ScalarEvolution/sext-iv-1.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -disable-output -scalar-evolution -analyze \ +; RUN: opt %s -disable-output -scalar-evolution -analyze \ ; RUN: | grep { --> (sext i. \{.\*,+,.\*\} to i64)} | count 5 ; Don't convert (sext {...,+,...}) to {sext(...),+,sext(...)} in cases diff --git a/llvm/test/Analysis/ScalarEvolution/sext-iv-2.ll b/llvm/test/Analysis/ScalarEvolution/sext-iv-2.ll index 10bcc4756a21ffe3f31a330ca6a543f549b4e561..db0d6823531384a3755cd61da1cf7d71e227e137 100644 --- a/llvm/test/Analysis/ScalarEvolution/sext-iv-2.ll +++ b/llvm/test/Analysis/ScalarEvolution/sext-iv-2.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -analyze -scalar-evolution -disable-output | FileCheck %s +; RUN: opt %s -analyze -scalar-evolution -disable-output | FileCheck %s ; CHECK: %tmp3 = sext i8 %tmp2 to i32 ; CHECK: --> (sext i8 {0,+,1} to i32) Exits: -1 diff --git a/llvm/test/Analysis/ScalarEvolution/smax.ll b/llvm/test/Analysis/ScalarEvolution/smax.ll index 366dfdee7146067c4f6c3f2db910428c011f211e..e87bd88842145e10f70b0848d5be0e5904edc4bc 100644 --- a/llvm/test/Analysis/ScalarEvolution/smax.ll +++ b/llvm/test/Analysis/ScalarEvolution/smax.ll @@ -1,5 +1,5 @@ -; RUN: llvm-as < %s | opt -analyze -scalar-evolution -disable-output | grep smax | count 2 -; RUN: llvm-as < %s | opt -analyze -scalar-evolution -disable-output | grep \ +; RUN: opt %s -analyze -scalar-evolution -disable-output | grep smax | count 2 +; RUN: opt %s -analyze -scalar-evolution -disable-output | grep \ ; RUN: {%. smax %. smax %.} ; PR1614 diff --git a/llvm/test/Analysis/ScalarEvolution/trip-count.ll b/llvm/test/Analysis/ScalarEvolution/trip-count.ll index c5be858d1ee9158668278634c38db199f4b5070b..f43d19242a6b4f5e8e8bd19c1b3dc5c236429529 100644 --- a/llvm/test/Analysis/ScalarEvolution/trip-count.ll +++ b/llvm/test/Analysis/ScalarEvolution/trip-count.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -analyze -scalar-evolution -disable-output \ +; RUN: opt %s -analyze -scalar-evolution -disable-output \ ; RUN: -scalar-evolution-max-iterations=0 | grep {backedge-taken count is 10000} ; PR1101 diff --git a/llvm/test/Analysis/ScalarEvolution/trip-count2.ll b/llvm/test/Analysis/ScalarEvolution/trip-count2.ll index 374a5621cebfdb0e0a4d4b1df300ec69f529bec9..38700e1b1ac409cf7c9a4ab7d9bf99da8bba66fe 100644 --- a/llvm/test/Analysis/ScalarEvolution/trip-count2.ll +++ b/llvm/test/Analysis/ScalarEvolution/trip-count2.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -analyze -scalar-evolution -disable-output | \ +; RUN: opt %s -analyze -scalar-evolution -disable-output | \ ; RUN: grep {backedge-taken count is 4} ; PR1101 diff --git a/llvm/test/Analysis/ScalarEvolution/trip-count3.ll b/llvm/test/Analysis/ScalarEvolution/trip-count3.ll index 35c86835f3ac4c43a16b149a58db69ed45e94881..e4ef955b6d7ad90dc79a30218378b82da781b7ca 100644 --- a/llvm/test/Analysis/ScalarEvolution/trip-count3.ll +++ b/llvm/test/Analysis/ScalarEvolution/trip-count3.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -scalar-evolution -analyze -disable-output \ +; RUN: opt %s -scalar-evolution -analyze -disable-output \ ; RUN: | grep {Loop bb3\\.i: Unpredictable backedge-taken count\\.} ; ScalarEvolution can't compute a trip count because it doesn't know if diff --git a/llvm/test/Analysis/ScalarEvolution/trip-count4.ll b/llvm/test/Analysis/ScalarEvolution/trip-count4.ll index 49c4e133b4679754133ca93dc7b53acbc7a6389f..31e8110d9904b3befffb42c4bc821b20435ab52d 100644 --- a/llvm/test/Analysis/ScalarEvolution/trip-count4.ll +++ b/llvm/test/Analysis/ScalarEvolution/trip-count4.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -analyze -scalar-evolution -disable-output \ +; RUN: opt %s -analyze -scalar-evolution -disable-output \ ; RUN: | grep {sext.*trunc.*Exits: 11} ; ScalarEvolution should be able to compute a loop exit value for %indvar.i8. diff --git a/llvm/test/Analysis/ScalarEvolution/trip-count5.ll b/llvm/test/Analysis/ScalarEvolution/trip-count5.ll index 822dc2638f5a0c607fc8cbb0dd1717df4ce205ad..5e286e3c24fc04dc3d076f3637b997106c88adb2 100644 --- a/llvm/test/Analysis/ScalarEvolution/trip-count5.ll +++ b/llvm/test/Analysis/ScalarEvolution/trip-count5.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -analyze -scalar-evolution -disable-output > %t +; RUN: opt %s -analyze -scalar-evolution -disable-output > %t ; RUN: grep sext %t | count 2 ; RUN: not grep {(sext} %t diff --git a/llvm/test/Analysis/ScalarEvolution/trip-count6.ll b/llvm/test/Analysis/ScalarEvolution/trip-count6.ll index a6674092e7995797055acddb29ee70ff63420935..89fdc3ade6d05625894271e5d9adb07f04db76a1 100644 --- a/llvm/test/Analysis/ScalarEvolution/trip-count6.ll +++ b/llvm/test/Analysis/ScalarEvolution/trip-count6.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -analyze -disable-output -scalar-evolution \ +; RUN: opt %s -analyze -disable-output -scalar-evolution \ ; RUN: | grep {max backedge-taken count is 1\$} @mode_table = global [4 x i32] zeroinitializer ; <[4 x i32]*> [#uses=1] diff --git a/llvm/test/Analysis/ScalarEvolution/trip-count7.ll b/llvm/test/Analysis/ScalarEvolution/trip-count7.ll index cea826ef1d303a5d379d22d9d30aa9bc2cb211a5..6534e6eae718f438a7baf8c0bc209bf2a1ec6d25 100644 --- a/llvm/test/Analysis/ScalarEvolution/trip-count7.ll +++ b/llvm/test/Analysis/ScalarEvolution/trip-count7.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -analyze -scalar-evolution -disable-output \ +; RUN: opt %s -analyze -scalar-evolution -disable-output \ ; RUN: | grep {Loop bb7.i: Unpredictable backedge-taken count\\.} target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128" diff --git a/llvm/test/Analysis/ScalarEvolution/trip-count8.ll b/llvm/test/Analysis/ScalarEvolution/trip-count8.ll index 21ccc47b8b9adedb8473c9020793367ceb895e06..312a3b5de5c0aa9fe9744de6be5dec34a332bfb3 100644 --- a/llvm/test/Analysis/ScalarEvolution/trip-count8.ll +++ b/llvm/test/Analysis/ScalarEvolution/trip-count8.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -analyze -scalar-evolution -disable-output \ +; RUN: opt %s -analyze -scalar-evolution -disable-output \ ; RUN: | grep {Loop for\\.body: backedge-taken count is (-1 + \[%\]ecx)} ; PR4599 diff --git a/llvm/test/Analysis/ScalarEvolution/xor-and.ll b/llvm/test/Analysis/ScalarEvolution/xor-and.ll index 843052456a8006ffc306f7319693cab3a2fa5e9b..8541af4176e61e70073518ba7bb1a5c55d01e1fd 100644 --- a/llvm/test/Analysis/ScalarEvolution/xor-and.ll +++ b/llvm/test/Analysis/ScalarEvolution/xor-and.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -scalar-evolution -disable-output -analyze \ +; RUN: opt %s -scalar-evolution -disable-output -analyze \ ; RUN: | grep {\\--> (zext i4 (-8 + (trunc i64 (8 \\* %x) to i4)) to i64)} ; ScalarEvolution shouldn't try to analyze %z into something like diff --git a/llvm/test/Analysis/ScalarEvolution/zext-wrap.ll b/llvm/test/Analysis/ScalarEvolution/zext-wrap.ll index 052d036b08d90c10a968b98d861ea62e7a1ad838..6b4020134e2cbf27f278040265986611bc0e1104 100644 --- a/llvm/test/Analysis/ScalarEvolution/zext-wrap.ll +++ b/llvm/test/Analysis/ScalarEvolution/zext-wrap.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -analyze -scalar-evolution -disable-output \ +; RUN: opt %s -analyze -scalar-evolution -disable-output \ ; RUN: | FileCheck %s ; PR4569 diff --git a/llvm/test/Assembler/2002-04-07-HexFloatConstants.ll b/llvm/test/Assembler/2002-04-07-HexFloatConstants.ll index 5c54b39b80815c3ecea6ec78a0d6e224a804dab3..914ab8bc4a52dd73994b7ad6b613abfa125dfd95 100644 --- a/llvm/test/Assembler/2002-04-07-HexFloatConstants.ll +++ b/llvm/test/Assembler/2002-04-07-HexFloatConstants.ll @@ -5,7 +5,7 @@ ; of the bug that was causing the Olden Health benchmark to output incorrect ; results! ; -; RUN: llvm-as < %s | opt -constprop | llvm-dis > %t.1 +; RUN: opt %s -constprop | llvm-dis > %t.1 ; RUN: llvm-as < %s | llvm-dis | llvm-as | opt -constprop | \ ; RUN: llvm-dis > %t.2 ; RUN: diff %t.1 %t.2 diff --git a/llvm/test/Assembler/2002-04-29-NameBinding.ll b/llvm/test/Assembler/2002-04-29-NameBinding.ll index 9665aef14323d13607fb88681aef6cd2f45ec85d..2e10b2eaea4e90a2b50a455957ced975fd48d34b 100644 --- a/llvm/test/Assembler/2002-04-29-NameBinding.ll +++ b/llvm/test/Assembler/2002-04-29-NameBinding.ll @@ -4,7 +4,7 @@ ; Check by running globaldce, which will remove the constant if there are ; no references to it! ; -; RUN: llvm-as < %s | opt -globaldce | llvm-dis | \ +; RUN: opt %s -globaldce | llvm-dis | \ ; RUN: not grep constant ; diff --git a/llvm/test/Assembler/2002-08-19-BytecodeReader.ll b/llvm/test/Assembler/2002-08-19-BytecodeReader.ll index e42cda0baa07a6723052ca6c0b30c255ff59687e..2986668694a5dc05296d919b73d8b92b5060aded 100644 --- a/llvm/test/Assembler/2002-08-19-BytecodeReader.ll +++ b/llvm/test/Assembler/2002-08-19-BytecodeReader.ll @@ -1,7 +1,7 @@ ; Testcase that seems to break the bytecode reader. This comes from the ; "crafty" spec benchmark. ; -; RUN: llvm-as < %s | opt -instcombine | llvm-dis | llvm-as +; RUN: opt %s -instcombine | llvm-dis | llvm-as %CHESS_POSITION = type { i32, i32 } @pawn_probes = external global i32 ; [#uses=0] diff --git a/llvm/test/Assembler/2003-08-20-ConstantExprGEP-Fold.ll b/llvm/test/Assembler/2003-08-20-ConstantExprGEP-Fold.ll index 6f31f16778f6d11f7eb461cf242d8cacae9004e1..2efdf5c35d43025c1a1e5207ec62a9701e0371ba 100644 --- a/llvm/test/Assembler/2003-08-20-ConstantExprGEP-Fold.ll +++ b/llvm/test/Assembler/2003-08-20-ConstantExprGEP-Fold.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -instcombine -simplifycfg | llvm-dis | not grep br +; RUN: opt %s -instcombine -simplifycfg | llvm-dis | not grep br @.str_1 = internal constant [6 x i8] c"_Bool\00" ; <[6 x i8]*> [#uses=2] diff --git a/llvm/test/Assembler/2008-02-20-MultipleReturnValue.ll b/llvm/test/Assembler/2008-02-20-MultipleReturnValue.ll index 5b2ed7e8f48069e0641972cf40439279902dd8c2..44a40469e03294e351d089e36570bce942d98fc5 100644 --- a/llvm/test/Assembler/2008-02-20-MultipleReturnValue.ll +++ b/llvm/test/Assembler/2008-02-20-MultipleReturnValue.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -verify | llvm-dis | llvm-as -disable-output +; RUN: opt %s -verify | llvm-dis | llvm-as -disable-output define {i32, i8} @foo(i32 %p) { ret i32 1, i8 2 diff --git a/llvm/test/Assembler/2009-02-28-StripOpaqueName.ll b/llvm/test/Assembler/2009-02-28-StripOpaqueName.ll index eef5d3614a818d43ae933e33e407273340fb5a9b..d8c71c99d49824beec620eb95691dbe55577bedf 100644 --- a/llvm/test/Assembler/2009-02-28-StripOpaqueName.ll +++ b/llvm/test/Assembler/2009-02-28-StripOpaqueName.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -strip | llvm-dis | llvm-as | llvm-dis +; RUN: opt %s -strip | llvm-dis | llvm-as | llvm-dis ; Stripping the name from A should not break references to it. %A = type opaque diff --git a/llvm/test/Bitcode/extractelement.ll b/llvm/test/Bitcode/extractelement.ll index 04cb131f6e7f7e9d6064252b3820cb070f3b0337..88229678783f37f401bfaf8b15f6e44cd379e52f 100644 --- a/llvm/test/Bitcode/extractelement.ll +++ b/llvm/test/Bitcode/extractelement.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -constprop | llvm-dis +; RUN: opt %s -constprop | llvm-dis ; PR3465 define double @test() { diff --git a/llvm/test/CodeGen/Generic/GC/argpromotion.ll b/llvm/test/CodeGen/Generic/GC/argpromotion.ll index 5df947a9fb12aec112ef222fd64b31376142a549..d4344a0e0d01e156e5097d37cb23f9232647bb9e 100644 --- a/llvm/test/CodeGen/Generic/GC/argpromotion.ll +++ b/llvm/test/CodeGen/Generic/GC/argpromotion.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -anders-aa -argpromotion +; RUN: opt %s -anders-aa -argpromotion declare void @llvm.gcroot(i8**, i8*) diff --git a/llvm/test/CodeGen/Generic/GC/deadargelim.ll b/llvm/test/CodeGen/Generic/GC/deadargelim.ll index c5a56f600dd0ee80c5ae775359fe6494b14d6edc..4ee0b87a6e14d4dc366fc45b45252ca771b118c4 100644 --- a/llvm/test/CodeGen/Generic/GC/deadargelim.ll +++ b/llvm/test/CodeGen/Generic/GC/deadargelim.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -deadargelim +; RUN: opt %s -deadargelim declare void @llvm.gcroot(i8**, i8*) diff --git a/llvm/test/CodeGen/Generic/GC/inline.ll b/llvm/test/CodeGen/Generic/GC/inline.ll index 157e19d2d929710dba3e496272252b20208aacfd..54d91edd7d3d5f3287f397ab78d8c0f528be818e 100644 --- a/llvm/test/CodeGen/Generic/GC/inline.ll +++ b/llvm/test/CodeGen/Generic/GC/inline.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -inline | llvm-dis | grep example +; RUN: opt %s -inline | llvm-dis | grep example %IntArray = type { i32, [0 x i32*] } diff --git a/llvm/test/CodeGen/Generic/GC/inline2.ll b/llvm/test/CodeGen/Generic/GC/inline2.ll index b45ef7c47f526ee47835ba58c400e6ede1283bc3..a6bcc1bf812819422ae98c78f811ce57ab644e14 100644 --- a/llvm/test/CodeGen/Generic/GC/inline2.ll +++ b/llvm/test/CodeGen/Generic/GC/inline2.ll @@ -1,5 +1,5 @@ -; RUN: llvm-as < %s | opt -inline | llvm-dis | grep sample -; RUN: llvm-as < %s | opt -inline | llvm-dis | grep example +; RUN: opt %s -inline | llvm-dis | grep sample +; RUN: opt %s -inline | llvm-dis | grep example %IntArray = type { i32, [0 x i32*] } diff --git a/llvm/test/CodeGen/PowerPC/ppcf128-1.ll b/llvm/test/CodeGen/PowerPC/ppcf128-1.ll index a487de7fd57728d734c3de800c08abcb540f30fd..a4dbdf4d43fd0342bf2dee201006bbd851d93597 100644 --- a/llvm/test/CodeGen/PowerPC/ppcf128-1.ll +++ b/llvm/test/CodeGen/PowerPC/ppcf128-1.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -std-compile-opts | llc > %t +; RUN: opt %s -std-compile-opts | llc > %t ; ModuleID = 'ld3.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-f128:64:128" target triple = "powerpc-apple-darwin8" diff --git a/llvm/test/CodeGen/PowerPC/vec_shuffle.ll b/llvm/test/CodeGen/PowerPC/vec_shuffle.ll index 1289dca2d2116a4f3d85906e81aae0bcd13a724f..b97607ef71839412f481c78c036e4a9051c665d8 100644 --- a/llvm/test/CodeGen/PowerPC/vec_shuffle.ll +++ b/llvm/test/CodeGen/PowerPC/vec_shuffle.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -instcombine | \ +; RUN: opt %s -instcombine | \ ; RUN: llc -march=ppc32 -mcpu=g5 | not grep vperm ; RUN: llvm-as < %s | llc -march=ppc32 -mcpu=g5 > %t ; RUN: grep vsldoi %t | count 2 diff --git a/llvm/test/CodeGen/X86/2009-03-23-i80-fp80.ll b/llvm/test/CodeGen/X86/2009-03-23-i80-fp80.ll index 0619e120396810f567785f11caab5c3d69baacc5..3b908656874354aabd93530b3992c496e4dde0ac 100644 --- a/llvm/test/CodeGen/X86/2009-03-23-i80-fp80.ll +++ b/llvm/test/CodeGen/X86/2009-03-23-i80-fp80.ll @@ -1,5 +1,5 @@ -; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep 302245289961712575840256 -; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep K40018000000000000000 +; RUN: opt %s -instcombine | llvm-dis | grep 302245289961712575840256 +; RUN: opt %s -instcombine | llvm-dis | grep K40018000000000000000 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-darwin9" diff --git a/llvm/test/CodeGen/X86/asm-block-labels.ll b/llvm/test/CodeGen/X86/asm-block-labels.ll index 284a9fb00fde742c858f23212956b7e8e49ee0d7..a67a2128f696fe3cca90f8e8fb9d5f56e548e477 100644 --- a/llvm/test/CodeGen/X86/asm-block-labels.ll +++ b/llvm/test/CodeGen/X86/asm-block-labels.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -std-compile-opts | llc +; RUN: opt %s -std-compile-opts | llc ; ModuleID = 'block12.c' target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128" target triple = "i686-apple-darwin8" diff --git a/llvm/test/CodeGen/X86/nancvt.ll b/llvm/test/CodeGen/X86/nancvt.ll index 96cac0dc329aa305ae7dadca8811b048b4bdaf7a..28ee39380f61ef2b9eb28180c5d6c0af588e4932 100644 --- a/llvm/test/CodeGen/X86/nancvt.ll +++ b/llvm/test/CodeGen/X86/nancvt.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -std-compile-opts | llc > %t +; RUN: opt %s -std-compile-opts | llc > %t ; RUN: grep 2147027116 %t | count 3 ; RUN: grep 2147228864 %t | count 3 ; RUN: grep 2146502828 %t | count 3 diff --git a/llvm/test/CodeGen/X86/vec_ins_extract.ll b/llvm/test/CodeGen/X86/vec_ins_extract.ll index 7882839575855382a2b89e7185158d51537b71da..b3a61cafbe92ab78efb933471277065b5989464d 100644 --- a/llvm/test/CodeGen/X86/vec_ins_extract.ll +++ b/llvm/test/CodeGen/X86/vec_ins_extract.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -scalarrepl -instcombine | \ +; RUN: opt %s -scalarrepl -instcombine | \ ; RUN: llc -march=x86 -mcpu=yonah | not grep sub.*esp ; This checks that various insert/extract idiom work without going to the diff --git a/llvm/test/DebugInfo/2008-11-05-InlinedFuncStart.ll b/llvm/test/DebugInfo/2008-11-05-InlinedFuncStart.ll index c494190b4ec8a50f821caad7f65e06d75b15721e..1175b85f92f90989fe2d0c9d398d43ff38dbe798 100644 --- a/llvm/test/DebugInfo/2008-11-05-InlinedFuncStart.ll +++ b/llvm/test/DebugInfo/2008-11-05-InlinedFuncStart.ll @@ -1,5 +1,5 @@ ; RUN: llvm-as < %s | llc -; RUN: llvm-as < %s | llc -O0 +; RUN: llc %s -o - -O0 %llvm.dbg.anchor.type = type { i32, i32 } %llvm.dbg.basictype.type = type { i32, { }*, i8*, { }*, i32, i64, i64, i64, i32, i32 } %llvm.dbg.compile_unit.type = type { i32, { }*, i32, i8*, i8*, i8* } diff --git a/llvm/test/DebugInfo/2009-01-15-RecordVariableCrash.ll b/llvm/test/DebugInfo/2009-01-15-RecordVariableCrash.ll index 3ed85c3e4e09a46d73f4e2f0bc8ef920fb24b8c3..42fb54ce7c8fb9af77dcb182e0092e09cc18a4fd 100644 --- a/llvm/test/DebugInfo/2009-01-15-RecordVariableCrash.ll +++ b/llvm/test/DebugInfo/2009-01-15-RecordVariableCrash.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | llc -o /dev/null -verify-dom-info +; RUN: llc %s -o /dev/null -verify-dom-info %llvm.dbg.anchor.type = type { i32, i32 } %llvm.dbg.basictype.type = type { i32, { }*, i8*, { }*, i32, i64, i64, i64, i32, i32, i8*, i8* } %llvm.dbg.compile_unit.type = type { i32, { }*, i32, i8*, i8*, i8* } diff --git a/llvm/test/DebugInfo/2009-01-15-dbg_declare.ll b/llvm/test/DebugInfo/2009-01-15-dbg_declare.ll index 2a7823bbda899f1d333d0ea1bb4cfdc4826892e7..ab404afbd8a7170b1f9c26cb6342912a8217cf36 100644 --- a/llvm/test/DebugInfo/2009-01-15-dbg_declare.ll +++ b/llvm/test/DebugInfo/2009-01-15-dbg_declare.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | llc -o /dev/null +; RUN: llc %s -o /dev/null %llvm.dbg.variable.type = type { i32, { }*, i8*, { }*, i32, { }*, i8*, i8* } @llvm.dbg.variable24 = external constant %llvm.dbg.variable.type ; <%llvm.dbg.variable.type*> [#uses=1] diff --git a/llvm/test/DebugInfo/2009-01-15-member.ll b/llvm/test/DebugInfo/2009-01-15-member.ll index dc72bb7ce552f7321888d418a1eb97fedf54b2ba..a0fb0dbf5ea07b9bb78d17476d2fc4e491c5cb5b 100644 --- a/llvm/test/DebugInfo/2009-01-15-member.ll +++ b/llvm/test/DebugInfo/2009-01-15-member.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | llc -o /dev/null +; RUN: llc %s -o /dev/null %llvm.dbg.anchor.type = type { i32, i32 } %llvm.dbg.basictype.type = type { i32, { }*, i8*, { }*, i32, i64, i64, i64, i32, i32, i8*, i8* } %llvm.dbg.compile_unit.type = type { i32, { }*, i32, i8*, i8*, i8* } diff --git a/llvm/test/DebugInfo/2009-02-18-DefaultScope-Crash.ll b/llvm/test/DebugInfo/2009-02-18-DefaultScope-Crash.ll index ea9e04623957411a0b6561eec9c35d689e842e9d..27bcef7b70892ca47241883c7ec151bff6aca927 100644 --- a/llvm/test/DebugInfo/2009-02-18-DefaultScope-Crash.ll +++ b/llvm/test/DebugInfo/2009-02-18-DefaultScope-Crash.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | llc -o /dev/null +; RUN: llc %s -o /dev/null %llvm.dbg.anchor.type = type { i32, i32 } %llvm.dbg.basictype.type = type { i32, { }*, i8*, { }*, i32, i64, i64, i64, i32, i32 } %llvm.dbg.compile_unit.type = type { i32, { }*, i32, i8*, i8*, i8*, i1, i1, i8* } diff --git a/llvm/test/DebugInfo/2009-03-03-cheapdse.ll b/llvm/test/DebugInfo/2009-03-03-cheapdse.ll index d9b18aa859009694587d94bec70cb6f4ad8cb863..20f8e0cdb685f33b593a1253b9b49dd460745a4a 100644 --- a/llvm/test/DebugInfo/2009-03-03-cheapdse.ll +++ b/llvm/test/DebugInfo/2009-03-03-cheapdse.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep store | count 5 +; RUN: opt %s -instcombine | llvm-dis | grep store | count 5 ; ModuleID = '' target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128" target triple = "i386-apple-darwin9.6" diff --git a/llvm/test/DebugInfo/2009-03-03-deadstore.ll b/llvm/test/DebugInfo/2009-03-03-deadstore.ll index 795393d87e0e402f52fc3d9b06390ba213394b83..de9e1ef131961e68ce4e05e24e065383718508cb 100644 --- a/llvm/test/DebugInfo/2009-03-03-deadstore.ll +++ b/llvm/test/DebugInfo/2009-03-03-deadstore.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep alloca +; RUN: opt %s -instcombine | llvm-dis | not grep alloca ; ModuleID = '' target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128" target triple = "i386-apple-darwin9.6" diff --git a/llvm/test/DebugInfo/2009-03-03-store-to-load-forward.ll b/llvm/test/DebugInfo/2009-03-03-store-to-load-forward.ll index 72866ec6d7007d9288d2106229c273e25d0a4a30..6ed1e504ba22ef0e60f0dfee3dcab7d764622669 100644 --- a/llvm/test/DebugInfo/2009-03-03-store-to-load-forward.ll +++ b/llvm/test/DebugInfo/2009-03-03-store-to-load-forward.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep alloca +; RUN: opt %s -instcombine | llvm-dis | not grep alloca ; ModuleID = '' target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128" target triple = "i386-apple-darwin9.6" diff --git a/llvm/test/DebugInfo/2009-06-12-Inline.ll b/llvm/test/DebugInfo/2009-06-12-Inline.ll index f6993378f170b2e9c53b5451521a9c39bb75e59d..de404686764474054296eac78055297f1563cb8d 100644 --- a/llvm/test/DebugInfo/2009-06-12-Inline.ll +++ b/llvm/test/DebugInfo/2009-06-12-Inline.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | llc -o /dev/null +; RUN: llc %s -o /dev/null %llvm.dbg.anchor.type = type { i32, i32 } %llvm.dbg.basictype.type = type { i32, { }*, i8*, { }*, i32, i64, i64, i64, i32, i32 } %llvm.dbg.compile_unit.type = type { i32, { }*, i32, i8*, i8*, i8*, i1, i1, i8*, i32 } diff --git a/llvm/test/DebugInfo/2009-06-12-InlineFuncStart.ll b/llvm/test/DebugInfo/2009-06-12-InlineFuncStart.ll index 32e20ff8c912c355b09216b4e5dc15ff63a57c80..e87c52386cb6f7268059342731359eced8263e37 100644 --- a/llvm/test/DebugInfo/2009-06-12-InlineFuncStart.ll +++ b/llvm/test/DebugInfo/2009-06-12-InlineFuncStart.ll @@ -1,5 +1,5 @@ ; RUN: llvm-as < %s | llc -; RUN: llvm-as < %s | llc -O0 +; RUN: llc %s -o - -O0 %llvm.dbg.anchor.type = type { i32, i32 } %llvm.dbg.basictype.type = type { i32, { }*, i8*, { }*, i32, i64, i64, i64, i32, i32 } %llvm.dbg.compile_unit.type = type { i32, { }*, i32, i8*, i8*, i8* } diff --git a/llvm/test/DebugInfo/2009-06-15-InlineFuncStart.ll b/llvm/test/DebugInfo/2009-06-15-InlineFuncStart.ll index 2ece6a3bf8ce5f45e26b23cd27e787d670979500..41cff0a368b4a405c8cb82804b4ea143b682e8b7 100644 --- a/llvm/test/DebugInfo/2009-06-15-InlineFuncStart.ll +++ b/llvm/test/DebugInfo/2009-06-15-InlineFuncStart.ll @@ -2,7 +2,7 @@ ; 2009-06-12-InlineFunctStart.ll with one change. In function main, the bb1 ; does not have llvm.dbg.stoppiont intrinsic before llvm.dbg.func.start. ; RUN: llvm-as < %s | llc -; RUN: llvm-as < %s | llc -O0 +; RUN: llc %s -o - -O0 %llvm.dbg.anchor.type = type { i32, i32 } %llvm.dbg.basictype.type = type { i32, { }*, i8*, { }*, i32, i64, i64, i64, i32, i32 } %llvm.dbg.compile_unit.type = type { i32, { }*, i32, i8*, i8*, i8* } diff --git a/llvm/test/DebugInfo/2009-06-15-abstract_origin.ll b/llvm/test/DebugInfo/2009-06-15-abstract_origin.ll index 3029da02a2664bb6f0b24cdd754535b93bd47ae2..d442a30a064df4254cd47fb18b436ee4868f0afd 100644 --- a/llvm/test/DebugInfo/2009-06-15-abstract_origin.ll +++ b/llvm/test/DebugInfo/2009-06-15-abstract_origin.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | llc -asm-verbose -O0 | not grep ".long 0x0 ## DW_AT_abstract_origin" +; RUN: llc %s -o - -asm-verbose -O0 | not grep ".long 0x0 ## DW_AT_abstract_origin" %llvm.dbg.anchor.type = type { i32, i32 } %llvm.dbg.basictype.type = type { i32, { }*, i8*, { }*, i32, i64, i64, i64, i32, i32 } diff --git a/llvm/test/DebugInfo/deaddebuglabel.ll b/llvm/test/DebugInfo/deaddebuglabel.ll index edab7e84be562cbfa682a721b3a1f7ba300eadb4..a9af12b3850fabda776a35d539f61f465e3c1f94 100644 --- a/llvm/test/DebugInfo/deaddebuglabel.ll +++ b/llvm/test/DebugInfo/deaddebuglabel.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | llc -O0 | grep "label" | count 8 +; RUN: llc %s -o - -O0 | grep "label" | count 8 ; PR2614 ; XFAIL: * diff --git a/llvm/test/DebugInfo/printdbginfo2.ll b/llvm/test/DebugInfo/printdbginfo2.ll index a82bf80b74358c725bc94418c1696a3218532a48..68b12279f3cde6a6acf3dec37b4dbfa28096093a 100644 --- a/llvm/test/DebugInfo/printdbginfo2.ll +++ b/llvm/test/DebugInfo/printdbginfo2.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -print-dbginfo -disable-output | FileCheck %s +; RUN: opt %s -print-dbginfo -disable-output | FileCheck %s ; grep {%b is variable b of type x declared at x.c:7} %t1 ; grep {%2 is variable b of type x declared at x.c:7} %t1 ; grep {@c.1442 is variable c of type int declared at x.c:4} %t1 diff --git a/llvm/test/Feature/load_module.ll b/llvm/test/Feature/load_module.ll index 356eceb285eae1aef5ca13094ab0726bd673ce28..cdc57085b5d4094131ecf948f9dd59a56de690d7 100644 --- a/llvm/test/Feature/load_module.ll +++ b/llvm/test/Feature/load_module.ll @@ -1,6 +1,6 @@ ; PR1318 -; RUN: llvm-as < %s | opt -load=%llvmlibsdir/LLVMHello%shlibext -hello \ -; RUN: -disable-output - |& grep Hello +; RUN: opt %s -load=%llvmlibsdir/LLVMHello%shlibext -hello \ +; RUN: -disable-output |& grep Hello @junk = global i32 0 diff --git a/llvm/test/Feature/weak_constant.ll b/llvm/test/Feature/weak_constant.ll index d27adfefa57fcd84f3d45cda04885a6954e48435..06cfe115cd550cdf49b57957f3f151d76c98a8ee 100644 --- a/llvm/test/Feature/weak_constant.ll +++ b/llvm/test/Feature/weak_constant.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -std-compile-opts | llvm-dis > %t +; RUN: opt %s -std-compile-opts | llvm-dis > %t ; RUN: grep undef %t | count 1 ; RUN: grep 5 %t | count 1 ; RUN: grep 7 %t | count 1 diff --git a/llvm/test/FrontendC/2008-07-29-EHLabel.ll b/llvm/test/FrontendC/2008-07-29-EHLabel.ll index abf9456858259c4d7d9b7741e2002cef65e00243..7577bc980ecd3433dabf29411f84d0c13b6cc5cd 100644 --- a/llvm/test/FrontendC/2008-07-29-EHLabel.ll +++ b/llvm/test/FrontendC/2008-07-29-EHLabel.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | llc -o - | %llvmgcc -xassembler -c -o /dev/null - +; RUN: llc %s -o - | %llvmgcc -xassembler -c -o /dev/null - ; PR2609 %struct..0._11 = type { i32 } %struct..1__pthread_mutex_s = type { i32, i32, i32, i32, i32, %struct..0._11 } diff --git a/llvm/test/Other/2002-01-31-CallGraph.ll b/llvm/test/Other/2002-01-31-CallGraph.ll index bb4c23e8779c1f718f675f1f47c7790f1faffe89..1fd0368480ed701ff8953fa51bf08ff6384c9993 100644 --- a/llvm/test/Other/2002-01-31-CallGraph.ll +++ b/llvm/test/Other/2002-01-31-CallGraph.ll @@ -1,6 +1,6 @@ ; Call graph construction crash: Not handling indirect calls right ; -; RUN: llvm-as < %s | opt -analyze -print-callgraph >& /dev/null +; RUN: opt %s -analyze -print-callgraph >& /dev/null ; %FunTy = type i32 (i32) diff --git a/llvm/test/Other/2002-02-24-InlineBrokePHINodes.ll b/llvm/test/Other/2002-02-24-InlineBrokePHINodes.ll index cbb1a89693775efa246a222cada51e9e8158dba1..c5c2f38021aa2f0349bb5a9fbe9ed9e3220f8098 100644 --- a/llvm/test/Other/2002-02-24-InlineBrokePHINodes.ll +++ b/llvm/test/Other/2002-02-24-InlineBrokePHINodes.ll @@ -1,7 +1,7 @@ ; Inlining used to break PHI nodes. This tests that they are correctly updated ; when a node is split around the call instruction. The verifier caught the error. ; -; RUN: llvm-as < %s | opt -inline +; RUN: opt %s -inline ; define i64 @test(i64 %X) { diff --git a/llvm/test/Other/2002-03-11-ConstPropCrash.ll b/llvm/test/Other/2002-03-11-ConstPropCrash.ll index 90dc0026935c989d8b6fd3102f410faa94176896..b1e727565a37b844a8887ab3dfc75124cff80301 100644 --- a/llvm/test/Other/2002-03-11-ConstPropCrash.ll +++ b/llvm/test/Other/2002-03-11-ConstPropCrash.ll @@ -5,7 +5,7 @@ ; ; Fixed by adding new arguments to ConstantFoldTerminator ; -; RUN: llvm-as < %s | opt -constprop +; RUN: opt %s -constprop define void @build_tree(i32 %ml) { ;