summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/Inline
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-09-11 18:01:28 +0000
committerDan Gohman <gohman@apple.com>2009-09-11 18:01:28 +0000
commit18800927221ce81d454948dd196c3a9049b6e6c3 (patch)
tree23b5a6121dac26f29af089e88b2a8c787ecf1bf8 /llvm/test/Transforms/Inline
parentaf494faa57daee0ae115de27f97cbfe9d712c276 (diff)
downloadbcm5719-llvm-18800927221ce81d454948dd196c3a9049b6e6c3.tar.gz
bcm5719-llvm-18800927221ce81d454948dd196c3a9049b6e6c3.zip
Change tests from "opt %s" to "opt < %s" so that opt doesn't see the
input filename so that opt doesn't print the input filename in the output so that grep lines in the tests don't unintentionally match strings in the input filename. llvm-svn: 81537
Diffstat (limited to 'llvm/test/Transforms/Inline')
-rw-r--r--llvm/test/Transforms/Inline/2003-09-14-InlineValue.ll2
-rw-r--r--llvm/test/Transforms/Inline/2003-09-22-PHINodeInlineFail.ll2
-rw-r--r--llvm/test/Transforms/Inline/2003-09-22-PHINodesInExceptionDest.ll2
-rw-r--r--llvm/test/Transforms/Inline/2003-09-22-PHINodesInNormalInvokeDest.ll2
-rw-r--r--llvm/test/Transforms/Inline/2003-10-13-AllocaDominanceProblem.ll2
-rw-r--r--llvm/test/Transforms/Inline/2003-10-26-InlineInvokeExceptionDestPhi.ll2
-rw-r--r--llvm/test/Transforms/Inline/2004-04-15-InlineDeletesCall.ll2
-rw-r--r--llvm/test/Transforms/Inline/2004-04-20-InlineLinkOnce.ll2
-rw-r--r--llvm/test/Transforms/Inline/2004-10-17-InlineFunctionWithoutReturn.ll2
-rw-r--r--llvm/test/Transforms/Inline/2006-01-14-CallGraphUpdate.ll2
-rw-r--r--llvm/test/Transforms/Inline/2006-07-12-InlinePruneCGUpdate.ll2
-rw-r--r--llvm/test/Transforms/Inline/2006-11-09-InlineCGUpdate-2.ll2
-rw-r--r--llvm/test/Transforms/Inline/2006-11-09-InlineCGUpdate.ll2
-rw-r--r--llvm/test/Transforms/Inline/2007-04-15-InlineEH.ll2
-rw-r--r--llvm/test/Transforms/Inline/2007-06-06-NoInline.ll2
-rw-r--r--llvm/test/Transforms/Inline/2007-06-25-WeakInline.ll2
-rw-r--r--llvm/test/Transforms/Inline/2008-03-04-StructRet.ll2
-rw-r--r--llvm/test/Transforms/Inline/2008-03-07-Inline-2.ll2
-rw-r--r--llvm/test/Transforms/Inline/2008-03-07-Inline.ll2
-rw-r--r--llvm/test/Transforms/Inline/2008-09-02-AlwaysInline.ll2
-rw-r--r--llvm/test/Transforms/Inline/2008-09-02-NoInline.ll2
-rw-r--r--llvm/test/Transforms/Inline/2008-10-30-AlwaysInline.ll4
-rw-r--r--llvm/test/Transforms/Inline/2008-11-04-AlwaysInline.ll2
-rw-r--r--llvm/test/Transforms/Inline/2009-01-08-NoInlineDynamicAlloca.ll2
-rw-r--r--llvm/test/Transforms/Inline/2009-01-12-RecursiveInline.ll2
-rw-r--r--llvm/test/Transforms/Inline/2009-01-13-RecursiveInlineCrash.ll2
-rw-r--r--llvm/test/Transforms/Inline/2009-05-07-CallUsingSelfCrash.ll2
-rw-r--r--llvm/test/Transforms/Inline/alloca-in-scc.ll2
-rw-r--r--llvm/test/Transforms/Inline/always_inline_dyn_alloca.ll2
-rw-r--r--llvm/test/Transforms/Inline/array_merge.ll2
-rw-r--r--llvm/test/Transforms/Inline/basictest.ll2
-rw-r--r--llvm/test/Transforms/Inline/byval.ll2
-rw-r--r--llvm/test/Transforms/Inline/byval2.ll2
-rw-r--r--llvm/test/Transforms/Inline/callgraph-update.ll2
-rw-r--r--llvm/test/Transforms/Inline/casts.ll2
-rw-r--r--llvm/test/Transforms/Inline/cfg_preserve_test.ll2
-rw-r--r--llvm/test/Transforms/Inline/crash.ll2
-rw-r--r--llvm/test/Transforms/Inline/dynamic_alloca_test.ll4
-rw-r--r--llvm/test/Transforms/Inline/externally_available.ll2
-rw-r--r--llvm/test/Transforms/Inline/indirect_resolve.ll2
-rw-r--r--llvm/test/Transforms/Inline/inline-invoke-tail.ll2
-rw-r--r--llvm/test/Transforms/Inline/inline_cleanup.ll4
-rw-r--r--llvm/test/Transforms/Inline/inline_constprop.ll4
-rw-r--r--llvm/test/Transforms/Inline/inline_dce.ll2
-rw-r--r--llvm/test/Transforms/Inline/inline_prune.ll4
-rw-r--r--llvm/test/Transforms/Inline/invoke_test-1.ll2
-rw-r--r--llvm/test/Transforms/Inline/invoke_test-2.ll2
-rw-r--r--llvm/test/Transforms/Inline/invoke_test-3.ll2
48 files changed, 53 insertions, 53 deletions
diff --git a/llvm/test/Transforms/Inline/2003-09-14-InlineValue.ll b/llvm/test/Transforms/Inline/2003-09-14-InlineValue.ll
index dd7a662a6be..49a27e195e2 100644
--- a/llvm/test/Transforms/Inline/2003-09-14-InlineValue.ll
+++ b/llvm/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/llvm/test/Transforms/Inline/2003-09-22-PHINodeInlineFail.ll b/llvm/test/Transforms/Inline/2003-09-22-PHINodeInlineFail.ll
index e1b426e20a4..5ced3b8e8da 100644
--- a/llvm/test/Transforms/Inline/2003-09-22-PHINodeInlineFail.ll
+++ b/llvm/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/llvm/test/Transforms/Inline/2003-09-22-PHINodesInExceptionDest.ll b/llvm/test/Transforms/Inline/2003-09-22-PHINodesInExceptionDest.ll
index 6c00dfa9140..4418f77c9d0 100644
--- a/llvm/test/Transforms/Inline/2003-09-22-PHINodesInExceptionDest.ll
+++ b/llvm/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/llvm/test/Transforms/Inline/2003-09-22-PHINodesInNormalInvokeDest.ll b/llvm/test/Transforms/Inline/2003-09-22-PHINodesInNormalInvokeDest.ll
index add2312d17e..1bd55299a90 100644
--- a/llvm/test/Transforms/Inline/2003-09-22-PHINodesInNormalInvokeDest.ll
+++ b/llvm/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/llvm/test/Transforms/Inline/2003-10-13-AllocaDominanceProblem.ll b/llvm/test/Transforms/Inline/2003-10-13-AllocaDominanceProblem.ll
index 40dc6827770..4a80d37c097 100644
--- a/llvm/test/Transforms/Inline/2003-10-13-AllocaDominanceProblem.ll
+++ b/llvm/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/llvm/test/Transforms/Inline/2003-10-26-InlineInvokeExceptionDestPhi.ll b/llvm/test/Transforms/Inline/2003-10-26-InlineInvokeExceptionDestPhi.ll
index 295d780b106..9afd45040ca 100644
--- a/llvm/test/Transforms/Inline/2003-10-26-InlineInvokeExceptionDestPhi.ll
+++ b/llvm/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/llvm/test/Transforms/Inline/2004-04-15-InlineDeletesCall.ll b/llvm/test/Transforms/Inline/2004-04-15-InlineDeletesCall.ll
index 1d154908a38..38994519cea 100644
--- a/llvm/test/Transforms/Inline/2004-04-15-InlineDeletesCall.ll
+++ b/llvm/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/llvm/test/Transforms/Inline/2004-04-20-InlineLinkOnce.ll b/llvm/test/Transforms/Inline/2004-04-20-InlineLinkOnce.ll
index 500f350a9ec..fabad30bb5a 100644
--- a/llvm/test/Transforms/Inline/2004-04-20-InlineLinkOnce.ll
+++ b/llvm/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/llvm/test/Transforms/Inline/2004-10-17-InlineFunctionWithoutReturn.ll b/llvm/test/Transforms/Inline/2004-10-17-InlineFunctionWithoutReturn.ll
index 3f832c79b92..733cbb9c754 100644
--- a/llvm/test/Transforms/Inline/2004-10-17-InlineFunctionWithoutReturn.ll
+++ b/llvm/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/llvm/test/Transforms/Inline/2006-01-14-CallGraphUpdate.ll b/llvm/test/Transforms/Inline/2006-01-14-CallGraphUpdate.ll
index 0f343d268be..415495eb515 100644
--- a/llvm/test/Transforms/Inline/2006-01-14-CallGraphUpdate.ll
+++ b/llvm/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/llvm/test/Transforms/Inline/2006-07-12-InlinePruneCGUpdate.ll b/llvm/test/Transforms/Inline/2006-07-12-InlinePruneCGUpdate.ll
index 9525725b6e4..69345627221 100644
--- a/llvm/test/Transforms/Inline/2006-07-12-InlinePruneCGUpdate.ll
+++ b/llvm/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/llvm/test/Transforms/Inline/2006-11-09-InlineCGUpdate-2.ll b/llvm/test/Transforms/Inline/2006-11-09-InlineCGUpdate-2.ll
index 4b747d4bd50..37cba9801ca 100644
--- a/llvm/test/Transforms/Inline/2006-11-09-InlineCGUpdate-2.ll
+++ b/llvm/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/llvm/test/Transforms/Inline/2006-11-09-InlineCGUpdate.ll b/llvm/test/Transforms/Inline/2006-11-09-InlineCGUpdate.ll
index 41a03629af0..279823a4b28 100644
--- a/llvm/test/Transforms/Inline/2006-11-09-InlineCGUpdate.ll
+++ b/llvm/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/llvm/test/Transforms/Inline/2007-04-15-InlineEH.ll b/llvm/test/Transforms/Inline/2007-04-15-InlineEH.ll
index 43ff4061404..635f93e8242 100644
--- a/llvm/test/Transforms/Inline/2007-04-15-InlineEH.ll
+++ b/llvm/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/llvm/test/Transforms/Inline/2007-06-06-NoInline.ll b/llvm/test/Transforms/Inline/2007-06-06-NoInline.ll
index 4a7ced8bed5..d5a7953ffb0 100644
--- a/llvm/test/Transforms/Inline/2007-06-06-NoInline.ll
+++ b/llvm/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/llvm/test/Transforms/Inline/2007-06-25-WeakInline.ll b/llvm/test/Transforms/Inline/2007-06-25-WeakInline.ll
index 941326efb4e..929891a6785 100644
--- a/llvm/test/Transforms/Inline/2007-06-25-WeakInline.ll
+++ b/llvm/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/llvm/test/Transforms/Inline/2008-03-04-StructRet.ll b/llvm/test/Transforms/Inline/2008-03-04-StructRet.ll
index 9ba42f8e2b4..3311d565368 100644
--- a/llvm/test/Transforms/Inline/2008-03-04-StructRet.ll
+++ b/llvm/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/llvm/test/Transforms/Inline/2008-03-07-Inline-2.ll b/llvm/test/Transforms/Inline/2008-03-07-Inline-2.ll
index 76356146703..0c968e6ce18 100644
--- a/llvm/test/Transforms/Inline/2008-03-07-Inline-2.ll
+++ b/llvm/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/llvm/test/Transforms/Inline/2008-03-07-Inline.ll b/llvm/test/Transforms/Inline/2008-03-07-Inline.ll
index f1ea7880fe6..86afb2d43ec 100644
--- a/llvm/test/Transforms/Inline/2008-03-07-Inline.ll
+++ b/llvm/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/llvm/test/Transforms/Inline/2008-09-02-AlwaysInline.ll b/llvm/test/Transforms/Inline/2008-09-02-AlwaysInline.ll
index f8c95844e13..39095c40728 100644
--- a/llvm/test/Transforms/Inline/2008-09-02-AlwaysInline.ll
+++ b/llvm/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/llvm/test/Transforms/Inline/2008-09-02-NoInline.ll b/llvm/test/Transforms/Inline/2008-09-02-NoInline.ll
index cc0e51b1e0b..33c8949afe0 100644
--- a/llvm/test/Transforms/Inline/2008-09-02-NoInline.ll
+++ b/llvm/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/llvm/test/Transforms/Inline/2008-10-30-AlwaysInline.ll b/llvm/test/Transforms/Inline/2008-10-30-AlwaysInline.ll
index 34b95b70ac0..11e501274d3 100644
--- a/llvm/test/Transforms/Inline/2008-10-30-AlwaysInline.ll
+++ b/llvm/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/llvm/test/Transforms/Inline/2008-11-04-AlwaysInline.ll b/llvm/test/Transforms/Inline/2008-11-04-AlwaysInline.ll
index 79c0302e329..bc9787b8234 100644
--- a/llvm/test/Transforms/Inline/2008-11-04-AlwaysInline.ll
+++ b/llvm/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/llvm/test/Transforms/Inline/2009-01-08-NoInlineDynamicAlloca.ll b/llvm/test/Transforms/Inline/2009-01-08-NoInlineDynamicAlloca.ll
index a34e6808b8f..db2a799225b 100644
--- a/llvm/test/Transforms/Inline/2009-01-08-NoInlineDynamicAlloca.ll
+++ b/llvm/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/llvm/test/Transforms/Inline/2009-01-12-RecursiveInline.ll b/llvm/test/Transforms/Inline/2009-01-12-RecursiveInline.ll
index b8ab4a3e6b5..1a3325a68b6 100644
--- a/llvm/test/Transforms/Inline/2009-01-12-RecursiveInline.ll
+++ b/llvm/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/llvm/test/Transforms/Inline/2009-01-13-RecursiveInlineCrash.ll b/llvm/test/Transforms/Inline/2009-01-13-RecursiveInlineCrash.ll
index a12aed4937f..7d8d16bacff 100644
--- a/llvm/test/Transforms/Inline/2009-01-13-RecursiveInlineCrash.ll
+++ b/llvm/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/llvm/test/Transforms/Inline/2009-05-07-CallUsingSelfCrash.ll b/llvm/test/Transforms/Inline/2009-05-07-CallUsingSelfCrash.ll
index 66b16f62130..c8629ea22eb 100644
--- a/llvm/test/Transforms/Inline/2009-05-07-CallUsingSelfCrash.ll
+++ b/llvm/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/llvm/test/Transforms/Inline/alloca-in-scc.ll b/llvm/test/Transforms/Inline/alloca-in-scc.ll
index e3d38143f60..d539255e6e0 100644
--- a/llvm/test/Transforms/Inline/alloca-in-scc.ll
+++ b/llvm/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/llvm/test/Transforms/Inline/always_inline_dyn_alloca.ll b/llvm/test/Transforms/Inline/always_inline_dyn_alloca.ll
index a44d90682ad..25cfc49f1a8 100644
--- a/llvm/test/Transforms/Inline/always_inline_dyn_alloca.ll
+++ b/llvm/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/llvm/test/Transforms/Inline/array_merge.ll b/llvm/test/Transforms/Inline/array_merge.ll
index 9294a06c4d1..0d176b8acb3 100644
--- a/llvm/test/Transforms/Inline/array_merge.ll
+++ b/llvm/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/llvm/test/Transforms/Inline/basictest.ll b/llvm/test/Transforms/Inline/basictest.ll
index 6ccd3157c99..71e00cb4c08 100644
--- a/llvm/test/Transforms/Inline/basictest.ll
+++ b/llvm/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/llvm/test/Transforms/Inline/byval.ll b/llvm/test/Transforms/Inline/byval.ll
index 907e3e2c183..c3552f69643 100644
--- a/llvm/test/Transforms/Inline/byval.ll
+++ b/llvm/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/llvm/test/Transforms/Inline/byval2.ll b/llvm/test/Transforms/Inline/byval2.ll
index 04c61ee34f0..a7ab77cb562 100644
--- a/llvm/test/Transforms/Inline/byval2.ll
+++ b/llvm/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/llvm/test/Transforms/Inline/callgraph-update.ll b/llvm/test/Transforms/Inline/callgraph-update.ll
index 05395ae33a7..528e9af82e1 100644
--- a/llvm/test/Transforms/Inline/callgraph-update.ll
+++ b/llvm/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/llvm/test/Transforms/Inline/casts.ll b/llvm/test/Transforms/Inline/casts.ll
index 1b9902b027b..166185a545d 100644
--- a/llvm/test/Transforms/Inline/casts.ll
+++ b/llvm/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/llvm/test/Transforms/Inline/cfg_preserve_test.ll b/llvm/test/Transforms/Inline/cfg_preserve_test.ll
index 021c9e73ba6..9597109dff0 100644
--- a/llvm/test/Transforms/Inline/cfg_preserve_test.ll
+++ b/llvm/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/llvm/test/Transforms/Inline/crash.ll b/llvm/test/Transforms/Inline/crash.ll
index 614fd75f426..30eae7a96a7 100644
--- a/llvm/test/Transforms/Inline/crash.ll
+++ b/llvm/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/llvm/test/Transforms/Inline/dynamic_alloca_test.ll b/llvm/test/Transforms/Inline/dynamic_alloca_test.ll
index b6b0971e79a..0286535efec 100644
--- a/llvm/test/Transforms/Inline/dynamic_alloca_test.ll
+++ b/llvm/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/llvm/test/Transforms/Inline/externally_available.ll b/llvm/test/Transforms/Inline/externally_available.ll
index c975131d6eb..43fe5d37f9e 100644
--- a/llvm/test/Transforms/Inline/externally_available.ll
+++ b/llvm/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/llvm/test/Transforms/Inline/indirect_resolve.ll b/llvm/test/Transforms/Inline/indirect_resolve.ll
index a62f1f6b7c0..76182e2fe4f 100644
--- a/llvm/test/Transforms/Inline/indirect_resolve.ll
+++ b/llvm/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/llvm/test/Transforms/Inline/inline-invoke-tail.ll b/llvm/test/Transforms/Inline/inline-invoke-tail.ll
index ce56fee9e3a..961f6789fe4 100644
--- a/llvm/test/Transforms/Inline/inline-invoke-tail.ll
+++ b/llvm/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/llvm/test/Transforms/Inline/inline_cleanup.ll b/llvm/test/Transforms/Inline/inline_cleanup.ll
index 915aef00da3..4c647219421 100644
--- a/llvm/test/Transforms/Inline/inline_cleanup.ll
+++ b/llvm/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/llvm/test/Transforms/Inline/inline_constprop.ll b/llvm/test/Transforms/Inline/inline_constprop.ll
index 3066d45ff4b..537c69b305c 100644
--- a/llvm/test/Transforms/Inline/inline_constprop.ll
+++ b/llvm/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/llvm/test/Transforms/Inline/inline_dce.ll b/llvm/test/Transforms/Inline/inline_dce.ll
index 632a9e4ca0d..5143d024942 100644
--- a/llvm/test/Transforms/Inline/inline_dce.ll
+++ b/llvm/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/llvm/test/Transforms/Inline/inline_prune.ll b/llvm/test/Transforms/Inline/inline_prune.ll
index 62d4d223613..658a422540a 100644
--- a/llvm/test/Transforms/Inline/inline_prune.ll
+++ b/llvm/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/llvm/test/Transforms/Inline/invoke_test-1.ll b/llvm/test/Transforms/Inline/invoke_test-1.ll
index f611becda29..0d27e2a7f5e 100644
--- a/llvm/test/Transforms/Inline/invoke_test-1.ll
+++ b/llvm/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/llvm/test/Transforms/Inline/invoke_test-2.ll b/llvm/test/Transforms/Inline/invoke_test-2.ll
index b04f8abc34c..bbb9ab05539 100644
--- a/llvm/test/Transforms/Inline/invoke_test-2.ll
+++ b/llvm/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/llvm/test/Transforms/Inline/invoke_test-3.ll b/llvm/test/Transforms/Inline/invoke_test-3.ll
index b170ecfd048..b360526fb34 100644
--- a/llvm/test/Transforms/Inline/invoke_test-3.ll
+++ b/llvm/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()
OpenPOWER on IntegriCloud