diff --git a/llvm/test/Analysis/Andersens/2007-11-19-InlineAsm.ll b/llvm/test/Analysis/Andersens/2007-11-19-InlineAsm.ll index 7bd5fddac3366cfa019c14a4e84ed15b61e7a48a..5ba34997e93d6e1d8436a112ec9dfa25307935e3 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: opt %s -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 f99d3053c674ea6a142eb610dffbf959338be82c..a9731037669bc99e8fc49d5a41ea42e2cf2f2fca 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: opt %s -anders-aa -gvn -S | not grep undef +; RUN: opt < %s -anders-aa -gvn -S | 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 87d21cf27540bf0f3ad638756daf8583612c6fe6..5a50dd56214c63b43672a184e48da9ede569aa53 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: opt %s -anders-aa -gvn -S | not grep undef +; RUN: opt < %s -anders-aa -gvn -S | 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 36c5c80b5a3ba6bffd8de70d341deaa35a039259..da6751139f2eaad4f91f1c7426ed9cd926cfcd20 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: opt %s -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 87d5d1ec9800ed6602f4970afee565462b6add1c..47226dd8da7a15f50cb0602d2393d84081809cb7 100644 --- a/llvm/test/Analysis/Andersens/basictest.ll +++ b/llvm/test/Analysis/Andersens/basictest.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -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 1b5077825523504c2c7d08c8e334411c4ee81b71..13c12dc558a773103eb253413adb19a3d3e8fc62 100644 --- a/llvm/test/Analysis/Andersens/external.ll +++ b/llvm/test/Analysis/Andersens/external.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -anders-aa -gvn -deadargelim -S | grep store | not grep null +; RUN: opt < %s -anders-aa -gvn -deadargelim -S | 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 ffb7339419c12edd2812070238d95efc8209bfed..e0c2edc4c2378e0c4c8f9767bab63001723ccf2b 100644 --- a/llvm/test/Analysis/Andersens/modreftest.ll +++ b/llvm/test/Analysis/Andersens/modreftest.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -anders-aa -gvn -instcombine -S \ +; RUN: opt < %s -anders-aa -gvn -instcombine -S \ ; 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 67adcbd0d1ef22be31d2ede051257dfa24d50550..562c961e7d469cb90533c9c4f9372dd33f1fde44 100644 --- a/llvm/test/Analysis/Andersens/modreftest2.ll +++ b/llvm/test/Analysis/Andersens/modreftest2.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -anders-aa -gvn -S \ +; RUN: opt < %s -anders-aa -gvn -S \ ; 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 453d02305ff2259bea22596e28b2155516431905..f9f938f8f1f929aa31813dbe7e8ecbf28ce52cac 100644 --- a/llvm/test/Analysis/Andersens/trivialtest.ll +++ b/llvm/test/Analysis/Andersens/trivialtest.ll @@ -1,3 +1,3 @@ -; RUN: opt %s -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 17f3c0480f29e4ec748f933d3f89ebe91f77015b..6b50a168cd0a4d8e5b477ae3913df37a6c3bf892 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: opt %s -gvn -instcombine -S | grep DONOTREMOVE +; RUN: opt < %s -gvn -instcombine -S | 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 a6624462bec06af565add0bc78f57010c9d4138c..4f8eabb79308099081cfa5964dd5af07028b7e3d 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: opt %s -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 6e9276f7dce06802c8185727f1600db0110c1612..f7e82951da7601b553480046f23cd59ff9c800a1 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: opt %s -gvn -instcombine -S | grep sub +; RUN: opt < %s -gvn -instcombine -S | 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 ecfa706f14d4ef4c4c8b498b78a2f57f10b87883..97bc38eb69bf38be2cf7713ad713b9ac465b0d0b 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: opt %s -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 ee7c659658dd5342a7c1d70f103882f2e034cb85..d439dfc530ba5dcb44a1315723bdf5a4a50e0baa 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: opt %s -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 d832b10f6d22c65bf52831af13d6c56b4fd422ac..0abd3847836c5e307d6a5232d868ff5dae672d32 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: opt %s -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 1db578cc0d2b19d2ec4c5dff2622fbcbfb94310e..3e813fa2ca1845cafd6dc61684c68cb876b88eb3 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: opt %s -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 231521d4b74d0e1c47ca574f98671d976f1f0015..637d8f0db48625fef3a6ec85b9958a8500cc39d6 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: opt %s -gvn -instcombine -S | not grep sub +; RUN: opt < %s -gvn -instcombine -S | 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 76a644e008ef4d6e856847f911507d1777844219..911f78cc827ea6f27d4dba627e892923649ac1dc 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: opt %s -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 46025d08ae30829ac62b6040efe9bf27122f470d..8166b979ddab3ab700d92ab0dd310c02be887a00 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: opt %s -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 ddecfb76429e6a315c863be671dae3d20c4a49af..e1cfd0348f35c8acdd6aee3b26a6f7e75560fd67 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: opt %s -dse -S | grep {store i32 0} +; RUN: opt < %s -dse -S | 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 b43bb3fbce8e2d8be13472988c5acee6b5ad3e5d..81248db328811aaef8c06f2459b2b76b4ab72ed0 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: opt %s -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 bbf8c5aad02cfb301319a186db8547bc3d944d8f..0e03db330c0461e5a464d377a971cddf61a7036a 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: opt %s -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 ed89cb56cfffe525b2b2211d44af847ea3c3ca22..4564263de015208593ace56ff60ee61f315080a9 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: opt %s -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 00fbc15b461657b91c7174cdde22e0d0bf303626..5d08312791f20952582f8240ff7f4560bffaef8d 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: opt %s -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 0ebe4e8047318b9be84814d47dd44d597581b73f..917bf2554dca5f9c47cc40555f9d6bdb30112570 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: opt %s -basicaa -gvn -instcombine -S | \ +; RUN: opt < %s -basicaa -gvn -instcombine -S | \ ; RUN: grep {sub i32} -; RUN: opt %s -basicaa -gvn -instcombine -S | \ +; RUN: opt < %s -basicaa -gvn -instcombine -S | \ ; 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 6a92fd8cc33adc33977e7e3209e47a523161ebda..035299e0ac824b560d52f2dfa45fa589f0941906 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: opt %s -basicaa -gvn -instcombine -S | \ +; RUN: opt < %s -basicaa -gvn -instcombine -S | \ ; 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 34b0f6f3342fb1c1ae92459eb68079740f187202..78f24b5e305df9add0cc62e35a89d4d7bbca4ae2 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: opt %s -basicaa -gvn -dce -S | grep tmp7 +; RUN: opt < %s -basicaa -gvn -dce -S | 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 a01aec8266ff0f3d97c4d397bacf4444cf086adb..f0f1535da746b4fa20c4e7d8c7c04b51a5d1108d 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: opt %s -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 c509dc32640ebd654953ba03e35840bf67c78e0d..8028afb0d003e4008f5b474a1364b084a90fc75d 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: opt %s -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 26e14dfcbff2a9d0647403dda1ec6b1e544c4c07..2069401628d2614458ea162830b3c54ddab20ee1 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: opt %s -std-compile-opts -S | grep store +; RUN: opt < %s -std-compile-opts -S | 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 8e8d92c99e915cce15a3b99eb0599f5535422365..ba29f3abcffe820fd1e91a4f721adfc7b084064e 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: opt %s -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 a0cb26a1c1fd14ef426ca84abd90db6da75796ed..06018ccd5b578e92c009702c863fb6879e2702b2 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: opt %s -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 40ca09e44b7fc0a3d6b85d07a129c148c01e5b6b..aaf9061953e75f1411f171d325f6bd66ad73bb9e 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: opt %s -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 8864571b418979975170b790626004730135473f..3ab5d03ca8c4fb85aca2886a878c33f246d8358f 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: opt %s -basicaa -gvn -S | grep load +; RUN: opt < %s -basicaa -gvn -S | grep load declare noalias i32* @noalias() diff --git a/llvm/test/Analysis/BasicAA/byval.ll b/llvm/test/Analysis/BasicAA/byval.ll index f5ffcccd78570d12036cd68ce2ac95838292e7f4..cdcafdf474f3006f66091f0b4cc25a6152fbd5c0 100644 --- a/llvm/test/Analysis/BasicAA/byval.ll +++ b/llvm/test/Analysis/BasicAA/byval.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -gvn -S | grep {ret i32 1} +; RUN: opt < %s -gvn -S | 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 866bdb23715e61be20df731e3cdf9887fc69a4b9..87772bfb44d50d0edbb7d244ded133bf6520c5e1 100644 --- a/llvm/test/Analysis/BasicAA/cas.ll +++ b/llvm/test/Analysis/BasicAA/cas.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -basicaa -gvn -S | grep load | count 1 +; RUN: opt < %s -basicaa -gvn -S | 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 191708a009445ae9378a83547c333a4a9d4bdba7..95f94d096f35fa0e1f34ba590ad98258a2451263 100644 --- a/llvm/test/Analysis/BasicAA/constant-over-index.ll +++ b/llvm/test/Analysis/BasicAA/constant-over-index.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -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 767b36a405e50684bf373d986a95411200ce5c99..737ee45350347c4ef89c79ed04873744a7ded690 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: opt %s -basicaa -gvn -instcombine -dce -S | not grep REMOVE +; RUN: opt < %s -basicaa -gvn -instcombine -dce -S | not grep REMOVE @Global = external global { i32 } diff --git a/llvm/test/Analysis/BasicAA/gcsetest.ll b/llvm/test/Analysis/BasicAA/gcsetest.ll index 716a5dce4fb3da777a7e587f08da349461e46397..a903362beb995f3709c76ee2bb83e3d1f4d53e2b 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: opt %s -basicaa -gvn -instcombine -dce -S \ +; RUN: opt < %s -basicaa -gvn -instcombine -dce -S \ ; RUN: | 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 a3f38a089542e383ea168145d943df81bb6236cc..0a643d4d080d003d0bc8e2201f581b92b73ad9ae 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: opt %s -basicaa -gvn -instcombine -S | not grep load +; RUN: opt < %s -basicaa -gvn -instcombine -S | 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 5a8a2eed1536c187de6059f82928d918cec9ade0..8f7c0a75d52e0ab3ec865cc9a2f836ef178ff254 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: opt %s -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 a0b6a449b26ef4475780e664d19699950d9db194..ccabce9b7b44b4e555f2a9629463cefcc96e67df 100644 --- a/llvm/test/Analysis/BasicAA/no-escape-call.ll +++ b/llvm/test/Analysis/BasicAA/no-escape-call.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -basicaa -gvn -instcombine -S | grep {ret i1 true} +; RUN: opt < %s -basicaa -gvn -instcombine -S | 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 39a70ab5da7ed4d649c64a2f6d0712094a892965..7970fbb9a03debdb407f923763782d74f5392a1b 100644 --- a/llvm/test/Analysis/BasicAA/nocapture.ll +++ b/llvm/test/Analysis/BasicAA/nocapture.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -basicaa -gvn -instcombine -S | grep {ret i32 0} +; RUN: opt < %s -basicaa -gvn -instcombine -S | 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 cffb87255bb09e967f03e5242d37e9d76df9dee6..54e6e79a5e508799cd0dbc934ddf3787d0fd3b1d 100644 --- a/llvm/test/Analysis/BasicAA/pure-const-dce.ll +++ b/llvm/test/Analysis/BasicAA/pure-const-dce.ll @@ -1,6 +1,6 @@ -; RUN: opt %s -basicaa -gvn -S | grep TestConst | count 2 -; RUN: opt %s -basicaa -gvn -S | grep TestPure | count 3 -; RUN: opt %s -basicaa -gvn -S | grep TestNone | count 4 +; RUN: opt < %s -basicaa -gvn -S | grep TestConst | count 2 +; RUN: opt < %s -basicaa -gvn -S | grep TestPure | count 3 +; RUN: opt < %s -basicaa -gvn -S | 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 09c432285865a5accebb5ae863fb7f4adcc40d4f..d8e7c75142a2aafc9c8ae58189f5f1547229fccf 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: opt %s -basicaa -licm -S | FileCheck %s +; RUN: opt < %s -basicaa -licm -S | 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 dc07a1b871906a9e8af16550ee380926ebe7a1d0..f7d6c57c1bcd8792a95cacf627c8d9d6fa7c861c 100644 --- a/llvm/test/Analysis/BasicAA/tailcall-modref.ll +++ b/llvm/test/Analysis/BasicAA/tailcall-modref.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -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 3977a5c5b46b4b18c5eeedabd57a8fffa7cc47b4..6e34209a0e362fa8ad675a1669ab686406be3384 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: opt %s -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 2b7bae20d68f8b4e946606e3e5dd780fee70a523..12849b7aa96c473f56fd33661b33c78819060f47 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: opt %s -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 deb949baaa1c04d09e822acd064257857d96a9c0..e31f4165b626fc23d4611271c6c95b292c247be7 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: opt %s -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 191e0aa85719761ec434ceac49c895c9b98ba5f3..96dc73929d1c191229f9fad69585aa391f118b07 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: opt %s -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 61297b615963e97337a8e33734615f1222e77fe7..17ace8a950bbbf25e987ca3905a1b1115160dba4 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: opt %s -globalsmodref-aa -gvn -S | grep call | count 2 +; RUN: opt < %s -globalsmodref-aa -gvn -S | 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 0de1d8a4355c015f3c5715d731f516f98e354be0..3e5d11907aa642d1bebae66b2e006e6804e32cc6 100644 --- a/llvm/test/Analysis/GlobalsModRef/aliastest.ll +++ b/llvm/test/Analysis/GlobalsModRef/aliastest.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -globalsmodref-aa -gvn -S | not grep load +; RUN: opt < %s -globalsmodref-aa -gvn -S | 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 479c6b434bc593efa4ce9cde9dbb33d757ad00ff..b1d4593ac99207ead11cc85a39e90b734f222365 100644 --- a/llvm/test/Analysis/GlobalsModRef/chaining-analysis.ll +++ b/llvm/test/Analysis/GlobalsModRef/chaining-analysis.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -globalsmodref-aa -gvn -S | not grep load +; RUN: opt < %s -globalsmodref-aa -gvn -S | 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 a0a4ddec92fee2541fb6b50c65b1d49d2255d272..4074909ce7854c9ece0b98a469c18e4fe35c5b7c 100644 --- a/llvm/test/Analysis/GlobalsModRef/indirect-global.ll +++ b/llvm/test/Analysis/GlobalsModRef/indirect-global.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -globalsmodref-aa -gvn -instcombine -S | \ +; RUN: opt < %s -globalsmodref-aa -gvn -instcombine -S | \ ; 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 7bcb08df37c9bf8d4585a036b667af82fbe71778..257c0ee7deb29f91519dc63cc15240b32e164f68 100644 --- a/llvm/test/Analysis/GlobalsModRef/modreftest.ll +++ b/llvm/test/Analysis/GlobalsModRef/modreftest.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -globalsmodref-aa -gvn -S | not grep load +; RUN: opt < %s -globalsmodref-aa -gvn -S | 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 dc75fcb10121b208cd48bac5c45576793186d0be..994aff8d4c684e4f80d4094eb5481f74cc1addb5 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: opt %s -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 2bc02d217a40674b3fd8688e1fe28c2f869164de..a5f504bafbf86ad0ff2da8af718c8ec8353b66c6 100644 --- a/llvm/test/Analysis/LoopDependenceAnalysis/alias.ll +++ b/llvm/test/Analysis/LoopDependenceAnalysis/alias.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -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 6514e0c766b7f9baa5d6f66ed3b3c575c5e68936..327089501ff806c9071d2dc0a63156c7a1a4035a 100644 --- a/llvm/test/Analysis/LoopDependenceAnalysis/siv-strong.ll +++ b/llvm/test/Analysis/LoopDependenceAnalysis/siv-strong.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -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 57484ed3eb2c2ce03c35f99b2c0eabe401c19e5a..3d9f2583b3abf4d12fdb33da57e07ee0b0621a25 100644 --- a/llvm/test/Analysis/LoopDependenceAnalysis/siv-weak-crossing.ll +++ b/llvm/test/Analysis/LoopDependenceAnalysis/siv-weak-crossing.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -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 4aa96e6ca3da4c1422bdeb4fd294ecd83ef9c6cb..4433138b6eb27747be77a3d7aea541847333561d 100644 --- a/llvm/test/Analysis/LoopDependenceAnalysis/siv-weak-zero.ll +++ b/llvm/test/Analysis/LoopDependenceAnalysis/siv-weak-zero.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -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 0ee8156537326e0b46148b5ecfe58c33b4f9a03c..0a93762d4c7ac6766e038645d7b16892e9be9e11 100644 --- a/llvm/test/Analysis/LoopDependenceAnalysis/ziv.ll +++ b/llvm/test/Analysis/LoopDependenceAnalysis/ziv.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -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 b437266f0867b38a2efbe7f876ab9d7b1d65a0ae..617c23f8e86f03d547083b72a4ffa3088afeb628 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: opt %s -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 ccaeeec7393fed8fb1af3ddc4bd55f92bb7d6f39..c0b0606af0b5258ed0ffd04f5f631598e6de368d 100644 --- a/llvm/test/Analysis/PointerTracking/sizes.ll +++ b/llvm/test/Analysis/PointerTracking/sizes.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -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 8b016f6612349841f6555904e03d95dbf5d8de21..b73b7f03f7e7a1c066eb4189e05ee82048d69510 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: opt %s -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 59303c67f9ced3a447cc0fcd6ab053c1c50c829a..1ec056bc34e0e57d5ffbcc6222638d155c79ada4 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: opt %s -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 9f032610ecaa25d26047661e072d78c8cc99d16d..767e5db94ce8608817ffb4d1b4f058d2a466d460 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: opt %s -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 637142278abbd196c729f4265704377158b2b242..afb47769ee498a6bab30a77018adfdd04ebcce6c 100644 --- a/llvm/test/Analysis/PostDominators/pr1098.ll +++ b/llvm/test/Analysis/PostDominators/pr1098.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -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 ffdfc2ee643e8060a4c26012782d69357371fac8..cbaf47617fb6ced98b8db1701508b0e015d24191 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: opt %s -insert-edge-profiling -S | FileCheck %s +; RUN: opt < %s -insert-edge-profiling -S | 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 ee7cce132acc773fcf85f29c0c5315ccbba3c6b8..7f82ea43579111702c038f744f4ec30c8f6e5949 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: opt %s -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 d8ba3f5fb0b732a7c1238414d4ef568c30f8a6eb..e67e4d00d6258c403a749b44976b23a159f8a73c 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: opt %s -indvars -adce -simplifycfg -S | grep "icmp s" +; RUN: opt < %s -indvars -adce -simplifycfg -S | 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 6813b9014d7b8180952b1a042d19495f921f1844..f623da1b2757563f4b455f0cb294e22251198584 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: opt %s -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 9b490bf2dc174e8badcc60cdea2766650ed23786..817090ffef65023c378385a2e491ede88f28b812 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: opt %s -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 1d01bb4cd42bd1d7e414d1a756cf3e4c361e127e..514920f0f6fade0dc48b141e151f337267d22621 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: opt %s -indvars -S | grep printd | grep 1206807378 +; RUN: opt < %s -indvars -S | 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 567e61338841d52ba714fb087aaeec5ed347cc93..2b3c982d6b1278f5455703a7e0971927e8bd0127 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: opt %s -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 fb6092cd4bb62799e857624cf246680971f7cba2..c8e483e7d50f9569261e71b2642e1a8852784e38 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: opt %s -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 5266df8825333c84668085f1c22208fa36c0519c..cb9a1829eb7c05bee08d9c52424062482350856a 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: opt %s -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 3ccd79b01322280f2b145457b3cfe3ad04167471..bf9f4a9e8607e54c9aae7f0c35a87d029f53b882 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: opt %s -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 42472fd22a7a83715d60d0be5e0065dce1807f06..8d15b772f1fe09875e8dc4be586e0b1596279b65 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: opt %s -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 2aa55576fe8fc92a5eb918a07525ff5b97713e22..d503329292c7dae6a016ba0c7e07ce76923cee5f 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: opt %s -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 0768eaf702e572daaf78d5cb33a4c4ed33cf3663..850b6708f4fe866747458252a542132087ca30cd 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: opt %s -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 66f4a8c005cb7088de4cdeb184d1ae7c813b692d..59e9fda41e646612fde50a710516b7092b6facf4 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: opt %s -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 64b92971ae4c16819d7b841e9c8fd0a6a4d7bbb3..989ac51226dce5f89c6ee30e580fd11402e0b7c6 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: opt %s -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 116e6da85abc37c56f53a256498e42726b3e11f6..803c7d110e72beb0995952cf86cd8fb0bf7f349b 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: opt %s -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 4ab5735a591ab29e681936056e1e1e70499f0ac2..97d0640c6c585d9c4527c53979b7bd2496e60da1 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: opt %s -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 5917a5a9591b814e2d6382d88dfe719bc643565e..7f4de917333652858acc018d8ccc36809587efee 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: opt %s -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 afea1bca122256941335d9a4eb68e6118ac7a265..fa09895eac32645df514acc3bf69ca03da89ec4a 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: opt %s -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 775ecc7ca34c90ac44d7fbbf8d6e3e48f66fecff..5a28117eb60b1215235a8f0551c7e65c48ae0ab4 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: opt %s -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 d8ae095f2818e1067e1bbe42bf51b49a8a7a5e02..9daff991aee92c89cf5d1159f8ad0461d6bfbf33 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: opt %s -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 cd02ec96663a1d4bcb310e18719b66c5fee7f4dc..5a2c36659c72e1dee6ed42ba54bb1158a1f282f4 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: opt %s -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 8be6f2cae25073abd5e5154c93d53194eb0b3ad8..daeb26a202e3c04d18ec6d980d6e0fb7e3ca7830 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: opt %s -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 4c89a3bfd778bd9b750862e957b037088179c93c..9dda78b21f7d123ae7d459bb6110b96eb52ae9f6 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: opt %s -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 23e9630fefaca73a2100cfe4d3281ec1dc72d6f2..bcbe92f509ae1cedf3681156d8adb547b6c02bc3 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: opt %s -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 cbab6a61d6798666d5c6d62018d1bae1c301da4d..2ee107a4a43a93e570dabfb6058bc3e15875dd95 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: opt %s -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 03b67c3712317948e3926a3ce2c7d24d6f6fd08f..0cfd84c997b407edd600e1e8f23b7da3e3f884a1 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: opt %s -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 7e0f452e4ba94e347ab512a253649c990529e6d8..4ec358c8a4dc690adfbf8159a3decd0da6d981c9 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: opt %s -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 e25183c0816126568f1b2c823b45dab6ba68e621..1fe10689f3fe72c6942fd46c4b71fcfaee4597c7 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: opt %s -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 01a3605c0dc10d9e8e0e3bfe917bb71db312399c..9d13695c3e47c6e783e9b9c7305b5e3c7388ade2 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: opt %s -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 f8409d3e2cde0d1a43cdc472703bb782fd1d19f6..78a7fd016716cb1937a4e2facf11b0ffcf5b0763 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: opt %s -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 4261984025ef80ca52de36622ce01f1c92638240..6ed261481e2d28c5363a71e0abbc0de2b2dc067d 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: opt %s -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 c20940584840e597ba15bed52ea08c858c3fd9a1..a4358aa63215264bb857cb13c7395cc4937e7aba 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: opt %s -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 6b94c8a736ea89349599ccabac2a74b52188eff6..fcc6fc3297c0d37ec0b6353edef16e10f4e12157 100644 --- a/llvm/test/Analysis/ScalarEvolution/SolveQuadraticEquation.ll +++ b/llvm/test/Analysis/ScalarEvolution/SolveQuadraticEquation.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -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 767194c8bd9a5ddbf4e6dc25989fb02e7222a5f8..90d947f15bba3fc971b6cd12eb7546ab649a5b06 100644 --- a/llvm/test/Analysis/ScalarEvolution/and-xor.ll +++ b/llvm/test/Analysis/ScalarEvolution/and-xor.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -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 0db3f9722231d6a3eb51ec628765085352b3fa50..f638eb340140c9b598eb4f41b6041032b8632acc 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: opt %s -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 5c6133ecf09c93fbdd3302ee8faac40980d39463..31b95e1470b231c5901a0934138bd8f427f66529 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: opt %s -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 e3056846c837107a910c41cf5ad8158c40cb0716..b733d6acb504075608762b2a5f83a4f2475475f3 100644 --- a/llvm/test/Analysis/ScalarEvolution/avoid-smax-0.ll +++ b/llvm/test/Analysis/ScalarEvolution/avoid-smax-0.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -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 5c77005848af915e7fa6eea42c6d2525d7705610..0bc9ce8241a8873a06dbbb8b67d83bed1aac5e8b 100644 --- a/llvm/test/Analysis/ScalarEvolution/avoid-smax-1.ll +++ b/llvm/test/Analysis/ScalarEvolution/avoid-smax-1.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -indvars -S > %t +; RUN: opt < %s -indvars -S > %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 5d8dbd3a42d7272323e62803d4b516483dc730f8..0c01044b977f89773f20dd848af92f92836b630a 100644 --- a/llvm/test/Analysis/ScalarEvolution/div-overflow.ll +++ b/llvm/test/Analysis/ScalarEvolution/div-overflow.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -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 d820664e7c4634a3b6cebe43cf87f6db2c05c464..f8d7da7c9a0a95b58e84d0e948f25a4f5c2aed55 100644 --- a/llvm/test/Analysis/ScalarEvolution/do-loop.ll +++ b/llvm/test/Analysis/ScalarEvolution/do-loop.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -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 47d7da19d672b769a446b1876457da1090ce1dbb..506401dafea5502d8b56450d8e8cf938689d1cbd 100644 --- a/llvm/test/Analysis/ScalarEvolution/max-trip-count.ll +++ b/llvm/test/Analysis/ScalarEvolution/max-trip-count.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -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 ce34662fedbac0e6f90399272a0cec86ec56cfd6..c31edabf38eeeafa3a777912d585c43b95748086 100644 --- a/llvm/test/Analysis/ScalarEvolution/nsw.ll +++ b/llvm/test/Analysis/ScalarEvolution/nsw.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -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 a440ac92848d9ead1fb4b78a93c64839add9660a..4de006c4ed182f46a77f580ff64cc5cf7ad96d15 100644 --- a/llvm/test/Analysis/ScalarEvolution/pointer-sign-bits.ll +++ b/llvm/test/Analysis/ScalarEvolution/pointer-sign-bits.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -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 79172243fbb4f9a852ec8bb0462e0cbca9932f7d..10e328ddf7e745a3831adf2fd3a640e0436c2311 100644 --- a/llvm/test/Analysis/ScalarEvolution/pr3909.ll +++ b/llvm/test/Analysis/ScalarEvolution/pr3909.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -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 60ffaf2685cb7e779a92123f211838fa610637be..0dcf52977a0a1b99fb7b6f129bce323df82227f7 100644 --- a/llvm/test/Analysis/ScalarEvolution/scev-aa.ll +++ b/llvm/test/Analysis/ScalarEvolution/scev-aa.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -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 6929f3dcfb989befc90cffde1588370a725d85f0..16128354aeb41906f64a2637c6c8509fdba5d8ed 100644 --- a/llvm/test/Analysis/ScalarEvolution/sext-inreg.ll +++ b/llvm/test/Analysis/ScalarEvolution/sext-inreg.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -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 dde291f3737504501ab897b3e26dea3833624bdd..8f887c4a57eba119f21f3b209253a53c378fbc8d 100644 --- a/llvm/test/Analysis/ScalarEvolution/sext-iv-0.ll +++ b/llvm/test/Analysis/ScalarEvolution/sext-iv-0.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -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 fdbdfb7f690b2bd667913336369689d3893c2779..02c3206c6fe76ad052ba3b96639270ef22be8787 100644 --- a/llvm/test/Analysis/ScalarEvolution/sext-iv-1.ll +++ b/llvm/test/Analysis/ScalarEvolution/sext-iv-1.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -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 db0d6823531384a3755cd61da1cf7d71e227e137..b25c237958c0315c3a1b3d48056ef593865b239c 100644 --- a/llvm/test/Analysis/ScalarEvolution/sext-iv-2.ll +++ b/llvm/test/Analysis/ScalarEvolution/sext-iv-2.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -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 e87bd88842145e10f70b0848d5be0e5904edc4bc..39de8d6c5a791966a233425a447017793e4d999d 100644 --- a/llvm/test/Analysis/ScalarEvolution/smax.ll +++ b/llvm/test/Analysis/ScalarEvolution/smax.ll @@ -1,5 +1,5 @@ -; RUN: opt %s -analyze -scalar-evolution -disable-output | grep smax | count 2 -; RUN: opt %s -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 f43d19242a6b4f5e8e8bd19c1b3dc5c236429529..66cc304918ae51f96c7d88738f24016a2624d2c3 100644 --- a/llvm/test/Analysis/ScalarEvolution/trip-count.ll +++ b/llvm/test/Analysis/ScalarEvolution/trip-count.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -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 38700e1b1ac409cf7c9a4ab7d9bf99da8bba66fe..bbe64358d4e547ca315c6f70df4ee3e9b313b66a 100644 --- a/llvm/test/Analysis/ScalarEvolution/trip-count2.ll +++ b/llvm/test/Analysis/ScalarEvolution/trip-count2.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -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 e4ef955b6d7ad90dc79a30218378b82da781b7ca..240983178b4035c9a70f65643265ea5daf547e64 100644 --- a/llvm/test/Analysis/ScalarEvolution/trip-count3.ll +++ b/llvm/test/Analysis/ScalarEvolution/trip-count3.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -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 31e8110d9904b3befffb42c4bc821b20435ab52d..e8d59cf550a835b694acbfec3c5cded36edd7377 100644 --- a/llvm/test/Analysis/ScalarEvolution/trip-count4.ll +++ b/llvm/test/Analysis/ScalarEvolution/trip-count4.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -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 5e286e3c24fc04dc3d076f3637b997106c88adb2..2512a966ed206ec13c7403b1b9d129b38d965dd3 100644 --- a/llvm/test/Analysis/ScalarEvolution/trip-count5.ll +++ b/llvm/test/Analysis/ScalarEvolution/trip-count5.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -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 89fdc3ade6d05625894271e5d9adb07f04db76a1..5833286317cea87e0f09e3325747d106effc3b16 100644 --- a/llvm/test/Analysis/ScalarEvolution/trip-count6.ll +++ b/llvm/test/Analysis/ScalarEvolution/trip-count6.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -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 6534e6eae718f438a7baf8c0bc209bf2a1ec6d25..0cd8d7c4a9a3a8f2b2db681e70081ddffa2a84b0 100644 --- a/llvm/test/Analysis/ScalarEvolution/trip-count7.ll +++ b/llvm/test/Analysis/ScalarEvolution/trip-count7.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -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 312a3b5de5c0aa9fe9744de6be5dec34a332bfb3..c49f5ceea70427cff078229d6ad316cd373193ca 100644 --- a/llvm/test/Analysis/ScalarEvolution/trip-count8.ll +++ b/llvm/test/Analysis/ScalarEvolution/trip-count8.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -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 8541af4176e61e70073518ba7bb1a5c55d01e1fd..c8339d7138d9d79010ee53cdd252beb13be88e91 100644 --- a/llvm/test/Analysis/ScalarEvolution/xor-and.ll +++ b/llvm/test/Analysis/ScalarEvolution/xor-and.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -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 6b4020134e2cbf27f278040265986611bc0e1104..9ff99be736a04e18c65f9f7dcdd73fe99bbae41c 100644 --- a/llvm/test/Analysis/ScalarEvolution/zext-wrap.ll +++ b/llvm/test/Analysis/ScalarEvolution/zext-wrap.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -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-29-NameBinding.ll b/llvm/test/Assembler/2002-04-29-NameBinding.ll index 1ba9270fcf6b346bc9b251bd2e949f832886ac94..7960c20ddcea9d4b59a685496ebc07f379f971b4 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: opt %s -globaldce -S | \ +; RUN: opt < %s -globaldce -S | \ ; 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 85d892dccbe336912b84d0585f6cdb3c93937b4b..567e9ded09dfe41b5d097330ef2f4991784599aa 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: opt %s -instcombine -S | llvm-as +; RUN: opt < %s -instcombine -S | llvm-as %CHESS_POSITION = type { i32, i32 } @pawn_probes = external global i32 ; [#uses=0] diff --git a/llvm/test/Assembler/2008-02-20-MultipleReturnValue.ll b/llvm/test/Assembler/2008-02-20-MultipleReturnValue.ll index 3f0ff8a0621ba1cb4d37ba62e59c8d3f56ec227c..32c893a9f5f19f8ce5b743b929d155f48140c028 100644 --- a/llvm/test/Assembler/2008-02-20-MultipleReturnValue.ll +++ b/llvm/test/Assembler/2008-02-20-MultipleReturnValue.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -verify -S | llvm-as -disable-output +; RUN: opt < %s -verify -S | 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 94529b9e24d721ae3d3e97684c35ea5d843aa6e4..f61a44cbd15d933745a4c5aae6164f141593f2a6 100644 --- a/llvm/test/Assembler/2009-02-28-StripOpaqueName.ll +++ b/llvm/test/Assembler/2009-02-28-StripOpaqueName.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -strip -S | llvm-as | llvm-dis +; RUN: opt < %s -strip -S | 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 88229678783f37f401bfaf8b15f6e44cd379e52f..d88f811e8e9cc0fbf9114c74db4e6ab27d1a6a42 100644 --- a/llvm/test/Bitcode/extractelement.ll +++ b/llvm/test/Bitcode/extractelement.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -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 d4344a0e0d01e156e5097d37cb23f9232647bb9e..dda376d6168e048dc17ec45e67c664f5cb09f1eb 100644 --- a/llvm/test/CodeGen/Generic/GC/argpromotion.ll +++ b/llvm/test/CodeGen/Generic/GC/argpromotion.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -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 4ee0b87a6e14d4dc366fc45b45252ca771b118c4..176019020ad4fe77c54f961bb987c89c70846a8c 100644 --- a/llvm/test/CodeGen/Generic/GC/deadargelim.ll +++ b/llvm/test/CodeGen/Generic/GC/deadargelim.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -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 5dd171abd2efa2f1fd1a4593fc295ffa9df0a3be..9da33aef8dd381651a973f67cbdb4337453912bb 100644 --- a/llvm/test/CodeGen/Generic/GC/inline.ll +++ b/llvm/test/CodeGen/Generic/GC/inline.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -inline -S | grep example +; RUN: opt < %s -inline -S | 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 ad98e3e3453c895c9220b4f9355681d5d3d2f61a..15947056ee39eabeb27226e08ae277ade5ac63bd 100644 --- a/llvm/test/CodeGen/Generic/GC/inline2.ll +++ b/llvm/test/CodeGen/Generic/GC/inline2.ll @@ -1,5 +1,5 @@ -; RUN: opt %s -inline -S | grep sample -; RUN: opt %s -inline -S | grep example +; RUN: opt < %s -inline -S | grep sample +; RUN: opt < %s -inline -S | 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 a4dbdf4d43fd0342bf2dee201006bbd851d93597..1047fe5d3ba9e47210940df1dc64f6c738b86add 100644 --- a/llvm/test/CodeGen/PowerPC/ppcf128-1.ll +++ b/llvm/test/CodeGen/PowerPC/ppcf128-1.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -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 e234f06289826a1b473e2e658abd504d7fdbb848..82706321c1c194c52ed8a77b50292659d246581f 100644 --- a/llvm/test/CodeGen/PowerPC/vec_shuffle.ll +++ b/llvm/test/CodeGen/PowerPC/vec_shuffle.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -instcombine | \ +; RUN: opt < %s -instcombine | \ ; RUN: llc -march=ppc32 -mcpu=g5 | not grep vperm ; RUN: llc < %s -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 7eadda86e60624798bb360b8954075abcdbeae79..e542325b63697c7dee6ba27c95a339cc070e00df 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: opt %s -instcombine -S | grep 302245289961712575840256 -; RUN: opt %s -instcombine -S | grep K40018000000000000000 +; RUN: opt < %s -instcombine -S | grep 302245289961712575840256 +; RUN: opt < %s -instcombine -S | 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 a67a2128f696fe3cca90f8e8fb9d5f56e548e477..a43d43023196d981298f4034c8bd8a079d0c02bc 100644 --- a/llvm/test/CodeGen/X86/asm-block-labels.ll +++ b/llvm/test/CodeGen/X86/asm-block-labels.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -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 28ee39380f61ef2b9eb28180c5d6c0af588e4932..0b56644f125a453c1bb4d88205feb6cf16ad16e8 100644 --- a/llvm/test/CodeGen/X86/nancvt.ll +++ b/llvm/test/CodeGen/X86/nancvt.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -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 b3a61cafbe92ab78efb933471277065b5989464d..bf43deb1d19a6749e14641fc2ae92fb291362a3a 100644 --- a/llvm/test/CodeGen/X86/vec_ins_extract.ll +++ b/llvm/test/CodeGen/X86/vec_ins_extract.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -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/2009-03-03-cheapdse.ll b/llvm/test/DebugInfo/2009-03-03-cheapdse.ll index 4f955e9c3460f763381fb2743d10dd3ecde55fa5..9f47f16153de766fe5419162b8c4088b36b0dc53 100644 --- a/llvm/test/DebugInfo/2009-03-03-cheapdse.ll +++ b/llvm/test/DebugInfo/2009-03-03-cheapdse.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -instcombine -S | grep store | count 5 +; RUN: opt < %s -instcombine -S | 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 8d4961453863bca3c400e026e53a745ea7319f8f..0705c155f9f7cad7ab4579b85e88d2c438f014be 100644 --- a/llvm/test/DebugInfo/2009-03-03-deadstore.ll +++ b/llvm/test/DebugInfo/2009-03-03-deadstore.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -instcombine -S | not grep alloca +; RUN: opt < %s -instcombine -S | 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 8fad616d0f62e1341453175f0626cd163fe0f1ae..75d3a6943393beed8e1600759f6befbb21891533 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: opt %s -instcombine -S | not grep alloca +; RUN: opt < %s -instcombine -S | 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/printdbginfo2.ll b/llvm/test/DebugInfo/printdbginfo2.ll index 68b12279f3cde6a6acf3dec37b4dbfa28096093a..c5fe7ad6c80326812ea88955db645520ebeac741 100644 --- a/llvm/test/DebugInfo/printdbginfo2.ll +++ b/llvm/test/DebugInfo/printdbginfo2.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -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 cdc57085b5d4094131ecf948f9dd59a56de690d7..e2e222f4edcf46e4c49d331198dc6a3f054cdccd 100644 --- a/llvm/test/Feature/load_module.ll +++ b/llvm/test/Feature/load_module.ll @@ -1,5 +1,5 @@ ; PR1318 -; RUN: opt %s -load=%llvmlibsdir/LLVMHello%shlibext -hello \ +; RUN: opt < %s -load=%llvmlibsdir/LLVMHello%shlibext -hello \ ; RUN: -disable-output |& grep Hello @junk = global i32 0 diff --git a/llvm/test/Other/2002-01-31-CallGraph.ll b/llvm/test/Other/2002-01-31-CallGraph.ll index 1fd0368480ed701ff8953fa51bf08ff6384c9993..0e4c877512631a73efa9d16cfc4579ef58430ed9 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: opt %s -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 c5c2f38021aa2f0349bb5a9fbe9ed9e3220f8098..db26942096d4554f4edf6cc1c1fe895db6df6acc 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: opt %s -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 b1e727565a37b844a8887ab3dfc75124cff80301..a6d4f5b3dbcc3d895e59705ba7134b0ac00e4b3e 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: opt %s -constprop +; RUN: opt < %s -constprop define void @build_tree(i32 %ml) { ;