diff options
Diffstat (limited to 'test/Transforms/Inline')
48 files changed, 53 insertions, 53 deletions
diff --git a/test/Transforms/Inline/2003-09-14-InlineValue.ll b/test/Transforms/Inline/2003-09-14-InlineValue.ll index dd7a662a6b..49a27e195e 100644 --- a/test/Transforms/Inline/2003-09-14-InlineValue.ll +++ b/test/Transforms/Inline/2003-09-14-InlineValue.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -inline -disable-output +; RUN: opt < %s -inline -disable-output declare i32 @External() diff --git a/test/Transforms/Inline/2003-09-22-PHINodeInlineFail.ll b/test/Transforms/Inline/2003-09-22-PHINodeInlineFail.ll index e1b426e20a..5ced3b8e8d 100644 --- a/test/Transforms/Inline/2003-09-22-PHINodeInlineFail.ll +++ b/test/Transforms/Inline/2003-09-22-PHINodeInlineFail.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -inline -disable-output +; RUN: opt < %s -inline -disable-output define i32 @main() { entry: diff --git a/test/Transforms/Inline/2003-09-22-PHINodesInExceptionDest.ll b/test/Transforms/Inline/2003-09-22-PHINodesInExceptionDest.ll index 6c00dfa914..4418f77c9d 100644 --- a/test/Transforms/Inline/2003-09-22-PHINodesInExceptionDest.ll +++ b/test/Transforms/Inline/2003-09-22-PHINodesInExceptionDest.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -inline -disable-output +; RUN: opt < %s -inline -disable-output define i32 @main() { entry: diff --git a/test/Transforms/Inline/2003-09-22-PHINodesInNormalInvokeDest.ll b/test/Transforms/Inline/2003-09-22-PHINodesInNormalInvokeDest.ll index add2312d17..1bd55299a9 100644 --- a/test/Transforms/Inline/2003-09-22-PHINodesInNormalInvokeDest.ll +++ b/test/Transforms/Inline/2003-09-22-PHINodesInNormalInvokeDest.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -inline -disable-output +; RUN: opt < %s -inline -disable-output define i32 @main() { entry: diff --git a/test/Transforms/Inline/2003-10-13-AllocaDominanceProblem.ll b/test/Transforms/Inline/2003-10-13-AllocaDominanceProblem.ll index 40dc682777..4a80d37c09 100644 --- a/test/Transforms/Inline/2003-10-13-AllocaDominanceProblem.ll +++ b/test/Transforms/Inline/2003-10-13-AllocaDominanceProblem.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -inline -disable-output +; RUN: opt < %s -inline -disable-output define i32 @reload() { reloadentry: diff --git a/test/Transforms/Inline/2003-10-26-InlineInvokeExceptionDestPhi.ll b/test/Transforms/Inline/2003-10-26-InlineInvokeExceptionDestPhi.ll index 295d780b10..9afd45040c 100644 --- a/test/Transforms/Inline/2003-10-26-InlineInvokeExceptionDestPhi.ll +++ b/test/Transforms/Inline/2003-10-26-InlineInvokeExceptionDestPhi.ll @@ -2,7 +2,7 @@ ; node in the exception destination, and the inlined function contains an ; unwind instruction. -; RUN: opt %s -inline -disable-output +; RUN: opt < %s -inline -disable-output define linkonce void @foo() { unwind diff --git a/test/Transforms/Inline/2004-04-15-InlineDeletesCall.ll b/test/Transforms/Inline/2004-04-15-InlineDeletesCall.ll index 1d154908a3..38994519ce 100644 --- a/test/Transforms/Inline/2004-04-15-InlineDeletesCall.ll +++ b/test/Transforms/Inline/2004-04-15-InlineDeletesCall.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -inline -disable-output +; RUN: opt < %s -inline -disable-output ; Inlining the first call caused the inliner function to delete the second ; call. Then the inliner tries to inline the second call, which no longer diff --git a/test/Transforms/Inline/2004-04-20-InlineLinkOnce.ll b/test/Transforms/Inline/2004-04-20-InlineLinkOnce.ll index 500f350a9e..fabad30bb5 100644 --- a/test/Transforms/Inline/2004-04-20-InlineLinkOnce.ll +++ b/test/Transforms/Inline/2004-04-20-InlineLinkOnce.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -inline -prune-eh -disable-output +; RUN: opt < %s -inline -prune-eh -disable-output define linkonce void @caller() { call void @callee( ) diff --git a/test/Transforms/Inline/2004-10-17-InlineFunctionWithoutReturn.ll b/test/Transforms/Inline/2004-10-17-InlineFunctionWithoutReturn.ll index 3f832c79b9..733cbb9c75 100644 --- a/test/Transforms/Inline/2004-10-17-InlineFunctionWithoutReturn.ll +++ b/test/Transforms/Inline/2004-10-17-InlineFunctionWithoutReturn.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -inline -disable-output +; RUN: opt < %s -inline -disable-output define i32 @test() { unwind diff --git a/test/Transforms/Inline/2006-01-14-CallGraphUpdate.ll b/test/Transforms/Inline/2006-01-14-CallGraphUpdate.ll index 0f343d268b..415495eb51 100644 --- a/test/Transforms/Inline/2006-01-14-CallGraphUpdate.ll +++ b/test/Transforms/Inline/2006-01-14-CallGraphUpdate.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -inline -prune-eh -disable-output +; RUN: opt < %s -inline -prune-eh -disable-output %"struct.std::__codecvt_abstract_base<char,char,__mbstate_t>" = type { %"struct.std::locale::facet" } %"struct.std::basic_streambuf<wchar_t,std::char_traits<wchar_t> >" = type { i32 (...)**, i32*, i32*, i32*, i32*, i32*, i32*, %"struct.std::locale" } diff --git a/test/Transforms/Inline/2006-07-12-InlinePruneCGUpdate.ll b/test/Transforms/Inline/2006-07-12-InlinePruneCGUpdate.ll index 9525725b6e..6934562722 100644 --- a/test/Transforms/Inline/2006-07-12-InlinePruneCGUpdate.ll +++ b/test/Transforms/Inline/2006-07-12-InlinePruneCGUpdate.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -inline -prune-eh -disable-output +; RUN: opt < %s -inline -prune-eh -disable-output ; PR827 @_ZTV8CRjii = internal global [1 x i32 (...)*] [ i32 (...)* @_ZN8CRjii12NlFeeEPN5Jr7sE ] ; <[1 x i32 (...)*]*> [#uses=0] diff --git a/test/Transforms/Inline/2006-11-09-InlineCGUpdate-2.ll b/test/Transforms/Inline/2006-11-09-InlineCGUpdate-2.ll index 4b747d4bd5..37cba9801c 100644 --- a/test/Transforms/Inline/2006-11-09-InlineCGUpdate-2.ll +++ b/test/Transforms/Inline/2006-11-09-InlineCGUpdate-2.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -inline -prune-eh -disable-output +; RUN: opt < %s -inline -prune-eh -disable-output ; PR993 target datalayout = "e-p:32:32" target triple = "i386-unknown-openbsd3.9" diff --git a/test/Transforms/Inline/2006-11-09-InlineCGUpdate.ll b/test/Transforms/Inline/2006-11-09-InlineCGUpdate.ll index 41a03629af..279823a4b2 100644 --- a/test/Transforms/Inline/2006-11-09-InlineCGUpdate.ll +++ b/test/Transforms/Inline/2006-11-09-InlineCGUpdate.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -inline -prune-eh -disable-output +; RUN: opt < %s -inline -prune-eh -disable-output ; PR992 target datalayout = "e-p:32:32" target triple = "i686-pc-linux-gnu" diff --git a/test/Transforms/Inline/2007-04-15-InlineEH.ll b/test/Transforms/Inline/2007-04-15-InlineEH.ll index 43ff406140..635f93e824 100644 --- a/test/Transforms/Inline/2007-04-15-InlineEH.ll +++ b/test/Transforms/Inline/2007-04-15-InlineEH.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -inline -S | not grep {invoke void asm} +; RUN: opt < %s -inline -S | not grep {invoke void asm} ; PR1335 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" diff --git a/test/Transforms/Inline/2007-06-06-NoInline.ll b/test/Transforms/Inline/2007-06-06-NoInline.ll index 4a7ced8bed..d5a7953ffb 100644 --- a/test/Transforms/Inline/2007-06-06-NoInline.ll +++ b/test/Transforms/Inline/2007-06-06-NoInline.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -inline -S | grep "define internal i32 @bar" +; RUN: opt < %s -inline -S | grep "define internal i32 @bar" @llvm.noinline = appending global [1 x i8*] [ i8* bitcast (i32 (i32, i32)* @bar to i8*) ], section "llvm.metadata" ; <[1 x i8*]*> [#uses=0] define internal i32 @bar(i32 %x, i32 %y) { diff --git a/test/Transforms/Inline/2007-06-25-WeakInline.ll b/test/Transforms/Inline/2007-06-25-WeakInline.ll index 941326efb4..929891a678 100644 --- a/test/Transforms/Inline/2007-06-25-WeakInline.ll +++ b/test/Transforms/Inline/2007-06-25-WeakInline.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -inline -S | grep call +; RUN: opt < %s -inline -S | grep call ; 'bar' can be overridden at link-time, don't inline it. diff --git a/test/Transforms/Inline/2008-03-04-StructRet.ll b/test/Transforms/Inline/2008-03-04-StructRet.ll index 9ba42f8e2b..3311d56536 100644 --- a/test/Transforms/Inline/2008-03-04-StructRet.ll +++ b/test/Transforms/Inline/2008-03-04-StructRet.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -inline -disable-output +; RUN: opt < %s -inline -disable-output %struct.Benchmark = type { i32 (...)** } %struct.Complex = type { double, double } %struct.ComplexBenchmark = type { %struct.Benchmark } diff --git a/test/Transforms/Inline/2008-03-07-Inline-2.ll b/test/Transforms/Inline/2008-03-07-Inline-2.ll index 7635614670..0c968e6ce1 100644 --- a/test/Transforms/Inline/2008-03-07-Inline-2.ll +++ b/test/Transforms/Inline/2008-03-07-Inline-2.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -inline -disable-output +; RUN: opt < %s -inline -disable-output %struct.Demand = type { double, double } %struct.branch = type { %struct.Demand, double, double, double, double, %struct.branch*, [12 x %struct.leaf*] } %struct.leaf = type { %struct.Demand, double, double } diff --git a/test/Transforms/Inline/2008-03-07-Inline.ll b/test/Transforms/Inline/2008-03-07-Inline.ll index f1ea7880fe..86afb2d43e 100644 --- a/test/Transforms/Inline/2008-03-07-Inline.ll +++ b/test/Transforms/Inline/2008-03-07-Inline.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -inline -disable-output +; RUN: opt < %s -inline -disable-output %struct.Demand = type { double, double } %struct.branch = type { %struct.Demand, double, double, double, double, %struct.branch*, [12 x %struct.leaf*] } %struct.leaf = type { %struct.Demand, double, double } diff --git a/test/Transforms/Inline/2008-09-02-AlwaysInline.ll b/test/Transforms/Inline/2008-09-02-AlwaysInline.ll index f8c95844e1..39095c4072 100644 --- a/test/Transforms/Inline/2008-09-02-AlwaysInline.ll +++ b/test/Transforms/Inline/2008-09-02-AlwaysInline.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -inline-threshold=0 -inline -S | not grep call +; RUN: opt < %s -inline-threshold=0 -inline -S | not grep call define i32 @fn2() alwaysinline { ret i32 1 diff --git a/test/Transforms/Inline/2008-09-02-NoInline.ll b/test/Transforms/Inline/2008-09-02-NoInline.ll index cc0e51b1e0..33c8949afe 100644 --- a/test/Transforms/Inline/2008-09-02-NoInline.ll +++ b/test/Transforms/Inline/2008-09-02-NoInline.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -inline -S | grep call | count 1 +; RUN: opt < %s -inline -S | grep call | count 1 define i32 @fn2() noinline { ret i32 1 diff --git a/test/Transforms/Inline/2008-10-30-AlwaysInline.ll b/test/Transforms/Inline/2008-10-30-AlwaysInline.ll index 34b95b70ac..11e501274d 100644 --- a/test/Transforms/Inline/2008-10-30-AlwaysInline.ll +++ b/test/Transforms/Inline/2008-10-30-AlwaysInline.ll @@ -1,7 +1,7 @@ -; RUN: opt %s -always-inline -S | not grep call +; RUN: opt < %s -always-inline -S | not grep call ; Ensure that threshold doesn't disrupt always inline. -; RUN: opt %s -inline-threshold=-2000000001 -always-inline -S | not grep call +; RUN: opt < %s -inline-threshold=-2000000001 -always-inline -S | not grep call define internal i32 @if0() alwaysinline { diff --git a/test/Transforms/Inline/2008-11-04-AlwaysInline.ll b/test/Transforms/Inline/2008-11-04-AlwaysInline.ll index 79c0302e32..bc9787b823 100644 --- a/test/Transforms/Inline/2008-11-04-AlwaysInline.ll +++ b/test/Transforms/Inline/2008-11-04-AlwaysInline.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -always-inline -S | grep {@foo} +; RUN: opt < %s -always-inline -S | grep {@foo} ; Ensure that foo is not removed by always inliner ; PR 2945 diff --git a/test/Transforms/Inline/2009-01-08-NoInlineDynamicAlloca.ll b/test/Transforms/Inline/2009-01-08-NoInlineDynamicAlloca.ll index a34e6808b8..db2a799225 100644 --- a/test/Transforms/Inline/2009-01-08-NoInlineDynamicAlloca.ll +++ b/test/Transforms/Inline/2009-01-08-NoInlineDynamicAlloca.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -inline -S | grep call +; RUN: opt < %s -inline -S | grep call ; Do not inline calls to variable-sized alloca. @q = common global i8* null ; <i8**> [#uses=1] diff --git a/test/Transforms/Inline/2009-01-12-RecursiveInline.ll b/test/Transforms/Inline/2009-01-12-RecursiveInline.ll index b8ab4a3e6b..1a3325a68b 100644 --- a/test/Transforms/Inline/2009-01-12-RecursiveInline.ll +++ b/test/Transforms/Inline/2009-01-12-RecursiveInline.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -inline -S | grep {call.*fib} | count 4 +; RUN: opt < %s -inline -S | grep {call.*fib} | count 4 ; First call to fib from fib is inlined, producing 2 instead of 1, total 3. ; Second call to fib from fib is not inlined because new body of fib exceeds ; inlining limit of 200. Plus call in main = 4 total. diff --git a/test/Transforms/Inline/2009-01-13-RecursiveInlineCrash.ll b/test/Transforms/Inline/2009-01-13-RecursiveInlineCrash.ll index a12aed4937..7d8d16bacf 100644 --- a/test/Transforms/Inline/2009-01-13-RecursiveInlineCrash.ll +++ b/test/Transforms/Inline/2009-01-13-RecursiveInlineCrash.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -inline -argpromotion -disable-output +; RUN: opt < %s -inline -argpromotion -disable-output ; ModuleID = '<stdin>' 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/test/Transforms/Inline/2009-05-07-CallUsingSelfCrash.ll b/test/Transforms/Inline/2009-05-07-CallUsingSelfCrash.ll index 66b16f6213..c8629ea22e 100644 --- a/test/Transforms/Inline/2009-05-07-CallUsingSelfCrash.ll +++ b/test/Transforms/Inline/2009-05-07-CallUsingSelfCrash.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -inline -disable-output +; RUN: opt < %s -inline -disable-output ; PR4123 %struct.S0 = type <{ i32 }> %struct.S1 = type <{ i8, i8, i8, i8, %struct.S0 }> diff --git a/test/Transforms/Inline/alloca-in-scc.ll b/test/Transforms/Inline/alloca-in-scc.ll index e3d38143f6..d539255e6e 100644 --- a/test/Transforms/Inline/alloca-in-scc.ll +++ b/test/Transforms/Inline/alloca-in-scc.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -inline | llvm-dis +; RUN: opt < %s -inline | llvm-dis 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-darwin10.0" diff --git a/test/Transforms/Inline/always_inline_dyn_alloca.ll b/test/Transforms/Inline/always_inline_dyn_alloca.ll index a44d90682a..25cfc49f1a 100644 --- a/test/Transforms/Inline/always_inline_dyn_alloca.ll +++ b/test/Transforms/Inline/always_inline_dyn_alloca.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -inline -S | not grep callee +; RUN: opt < %s -inline -S | not grep callee ; rdar://6655932 ; If callee is marked alwaysinline, inline it! Even if callee has dynamic diff --git a/test/Transforms/Inline/array_merge.ll b/test/Transforms/Inline/array_merge.ll index 9294a06c4d..0d176b8acb 100644 --- a/test/Transforms/Inline/array_merge.ll +++ b/test/Transforms/Inline/array_merge.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -inline -S | FileCheck %s +; RUN: opt < %s -inline -S | FileCheck %s ; rdar://7173846 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-darwin10.0" diff --git a/test/Transforms/Inline/basictest.ll b/test/Transforms/Inline/basictest.ll index 6ccd3157c9..71e00cb4c0 100644 --- a/test/Transforms/Inline/basictest.ll +++ b/test/Transforms/Inline/basictest.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -inline -disable-output -print-function 2> /dev/null +; RUN: opt < %s -inline -disable-output -print-function 2> /dev/null define i32 @func(i32 %i) { ret i32 %i diff --git a/test/Transforms/Inline/byval.ll b/test/Transforms/Inline/byval.ll index 907e3e2c18..c3552f6964 100644 --- a/test/Transforms/Inline/byval.ll +++ b/test/Transforms/Inline/byval.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -inline -S | grep {llvm.memcpy} +; RUN: opt < %s -inline -S | grep {llvm.memcpy} ; Inlining a byval struct should cause an explicit copy into an alloca. diff --git a/test/Transforms/Inline/byval2.ll b/test/Transforms/Inline/byval2.ll index 04c61ee34f..a7ab77cb56 100644 --- a/test/Transforms/Inline/byval2.ll +++ b/test/Transforms/Inline/byval2.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -inline -S | not grep {llvm.memcpy} +; RUN: opt < %s -inline -S | not grep {llvm.memcpy} ; Inlining a byval struct should NOT cause an explicit copy ; into an alloca if the function is readonly diff --git a/test/Transforms/Inline/callgraph-update.ll b/test/Transforms/Inline/callgraph-update.ll index 05395ae33a..528e9af82e 100644 --- a/test/Transforms/Inline/callgraph-update.ll +++ b/test/Transforms/Inline/callgraph-update.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -inline -loop-rotate | llvm-dis +; RUN: opt < %s -inline -loop-rotate | llvm-dis ; PR3601 declare void @solve() diff --git a/test/Transforms/Inline/casts.ll b/test/Transforms/Inline/casts.ll index 1b9902b027..166185a545 100644 --- a/test/Transforms/Inline/casts.ll +++ b/test/Transforms/Inline/casts.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -inline -S | grep {ret i32 1} +; RUN: opt < %s -inline -S | grep {ret i32 1} ; ModuleID = 'short.opt.bc' define i32 @testBool(i1 %X) { diff --git a/test/Transforms/Inline/cfg_preserve_test.ll b/test/Transforms/Inline/cfg_preserve_test.ll index 021c9e73ba..9597109dff 100644 --- a/test/Transforms/Inline/cfg_preserve_test.ll +++ b/test/Transforms/Inline/cfg_preserve_test.ll @@ -1,6 +1,6 @@ ; This test ensures that inlining an "empty" function does not destroy the CFG ; -; RUN: opt %s -inline -S | not grep br +; RUN: opt < %s -inline -S | not grep br define i32 @func(i32 %i) { ret i32 %i diff --git a/test/Transforms/Inline/crash.ll b/test/Transforms/Inline/crash.ll index 614fd75f42..30eae7a96a 100644 --- a/test/Transforms/Inline/crash.ll +++ b/test/Transforms/Inline/crash.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -inline -argpromotion -instcombine -disable-output +; RUN: opt < %s -inline -argpromotion -instcombine -disable-output ; This test was failing because the inliner would inline @list_DeleteElement ; into @list_DeleteDuplicates and then into @inf_GetBackwardPartnerLits, diff --git a/test/Transforms/Inline/dynamic_alloca_test.ll b/test/Transforms/Inline/dynamic_alloca_test.ll index b6b0971e79..0286535efe 100644 --- a/test/Transforms/Inline/dynamic_alloca_test.ll +++ b/test/Transforms/Inline/dynamic_alloca_test.ll @@ -3,9 +3,9 @@ ; Functions with dynamic allocas can only be inlined into functions that ; already have dynamic allocas. -; RUN: opt %s -inline -S | \ +; RUN: opt < %s -inline -S | \ ; RUN: grep llvm.stacksave -; RUN: opt %s -inline -S | not grep callee +; RUN: opt < %s -inline -S | not grep callee declare void @ext(i32*) diff --git a/test/Transforms/Inline/externally_available.ll b/test/Transforms/Inline/externally_available.ll index c975131d6e..43fe5d37f9 100644 --- a/test/Transforms/Inline/externally_available.ll +++ b/test/Transforms/Inline/externally_available.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -inline -constprop -S > %t +; RUN: opt < %s -inline -constprop -S > %t ; RUN: not grep test_function %t ; RUN: grep {ret i32 5} %t diff --git a/test/Transforms/Inline/indirect_resolve.ll b/test/Transforms/Inline/indirect_resolve.ll index a62f1f6b7c..76182e2fe4 100644 --- a/test/Transforms/Inline/indirect_resolve.ll +++ b/test/Transforms/Inline/indirect_resolve.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -inline | llvm-dis +; RUN: opt < %s -inline | llvm-dis ; PR4834 define i32 @main() { diff --git a/test/Transforms/Inline/inline-invoke-tail.ll b/test/Transforms/Inline/inline-invoke-tail.ll index ce56fee9e3..961f6789fe 100644 --- a/test/Transforms/Inline/inline-invoke-tail.ll +++ b/test/Transforms/Inline/inline-invoke-tail.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -inline -S | not grep {tail call void @llvm.memcpy.i32} +; RUN: opt < %s -inline -S | not grep {tail call void @llvm.memcpy.i32} ; PR3550 define internal void @foo(i32* %p, i32* %q) { diff --git a/test/Transforms/Inline/inline_cleanup.ll b/test/Transforms/Inline/inline_cleanup.ll index 915aef00da..4c64721942 100644 --- a/test/Transforms/Inline/inline_cleanup.ll +++ b/test/Transforms/Inline/inline_cleanup.ll @@ -1,9 +1,9 @@ ; Test that the inliner doesn't leave around dead allocas, and that it folds ; uncond branches away after it is done specializing. -; RUN: opt %s -inline -S | \ +; RUN: opt < %s -inline -S | \ ; RUN: not grep {alloca.*uses=0} -; RUN: opt %s -inline -S | \ +; RUN: opt < %s -inline -S | \ ; RUN: not grep {br label} @A = weak global i32 0 ; <i32*> [#uses=1] @B = weak global i32 0 ; <i32*> [#uses=1] diff --git a/test/Transforms/Inline/inline_constprop.ll b/test/Transforms/Inline/inline_constprop.ll index 3066d45ff4..537c69b305 100644 --- a/test/Transforms/Inline/inline_constprop.ll +++ b/test/Transforms/Inline/inline_constprop.ll @@ -1,5 +1,5 @@ -; RUN: opt %s -inline -S | not grep callee -; RUN: opt %s -inline -S | not grep div +; RUN: opt < %s -inline -S | not grep callee +; RUN: opt < %s -inline -S | not grep div define internal i32 @callee(i32 %A, i32 %B) { diff --git a/test/Transforms/Inline/inline_dce.ll b/test/Transforms/Inline/inline_dce.ll index 632a9e4ca0..5143d02494 100644 --- a/test/Transforms/Inline/inline_dce.ll +++ b/test/Transforms/Inline/inline_dce.ll @@ -1,7 +1,7 @@ ; This checks to ensure that the inline pass deletes functions if they get ; inlined into all of their callers. -; RUN: opt %s -inline -S | \ +; RUN: opt < %s -inline -S | \ ; RUN: not grep @reallysmall define internal i32 @reallysmall(i32 %A) { diff --git a/test/Transforms/Inline/inline_prune.ll b/test/Transforms/Inline/inline_prune.ll index 62d4d22361..658a422540 100644 --- a/test/Transforms/Inline/inline_prune.ll +++ b/test/Transforms/Inline/inline_prune.ll @@ -1,6 +1,6 @@ -; RUN: opt %s -inline -S | \ +; RUN: opt < %s -inline -S | \ ; RUN: not grep {callee\[12\](} -; RUN: opt %s -inline -S | not grep mul +; RUN: opt < %s -inline -S | not grep mul define internal i32 @callee1(i32 %A, i32 %B) { %cond = icmp eq i32 %A, 123 ; <i1> [#uses=1] diff --git a/test/Transforms/Inline/invoke_test-1.ll b/test/Transforms/Inline/invoke_test-1.ll index f611becda2..0d27e2a7f5 100644 --- a/test/Transforms/Inline/invoke_test-1.ll +++ b/test/Transforms/Inline/invoke_test-1.ll @@ -1,7 +1,7 @@ ; Test that we can inline a simple function, turning the calls in it into invoke ; instructions -; RUN: opt %s -inline -S | \ +; RUN: opt < %s -inline -S | \ ; RUN: not grep {call\[^e\]} declare void @might_throw() diff --git a/test/Transforms/Inline/invoke_test-2.ll b/test/Transforms/Inline/invoke_test-2.ll index b04f8abc34..bbb9ab0553 100644 --- a/test/Transforms/Inline/invoke_test-2.ll +++ b/test/Transforms/Inline/invoke_test-2.ll @@ -1,7 +1,7 @@ ; Test that if an invoked function is inlined, and if that function cannot ; throw, that the dead handler is now unreachable. -; RUN: opt %s -inline -simplifycfg -S | \ +; RUN: opt < %s -inline -simplifycfg -S | \ ; RUN: not grep UnreachableExceptionHandler declare void @might_throw() diff --git a/test/Transforms/Inline/invoke_test-3.ll b/test/Transforms/Inline/invoke_test-3.ll index b170ecfd04..b360526fb3 100644 --- a/test/Transforms/Inline/invoke_test-3.ll +++ b/test/Transforms/Inline/invoke_test-3.ll @@ -1,7 +1,7 @@ ; Test that any rethrown exceptions in an inlined function are automatically ; turned into branches to the invoke destination. -; RUN: opt %s -inline -S | not grep unwind$ +; RUN: opt < %s -inline -S | not grep unwind$ declare void @might_throw() |