summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/LoopIndexSplit
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/LoopIndexSplit
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/LoopIndexSplit')
-rw-r--r--llvm/test/Transforms/LoopIndexSplit/2007-09-21-LoopBound.ll2
-rw-r--r--llvm/test/Transforms/LoopIndexSplit/2007-09-24-UpdateIterationSpace.ll2
-rw-r--r--llvm/test/Transforms/LoopIndexSplit/2007-09-25-UpdateIterationSpace-2.ll2
-rw-r--r--llvm/test/Transforms/LoopIndexSplit/2008-01-28-IndDecrement.ll2
-rw-r--r--llvm/test/Transforms/LoopIndexSplit/2008-02-08-Crash.ll2
-rw-r--r--llvm/test/Transforms/LoopIndexSplit/2008-02-13-ExitValueNum.ll2
-rw-r--r--llvm/test/Transforms/LoopIndexSplit/2008-02-13-LoopLatch.ll2
-rw-r--r--llvm/test/Transforms/LoopIndexSplit/2008-02-13-LoopLatchPHI.ll2
-rw-r--r--llvm/test/Transforms/LoopIndexSplit/2008-02-14-Crash.ll2
-rw-r--r--llvm/test/Transforms/LoopIndexSplit/2008-03-24-ExitPhi.ll2
-rw-r--r--llvm/test/Transforms/LoopIndexSplit/2008-05-19-IndVar.ll2
-rw-r--r--llvm/test/Transforms/LoopIndexSplit/2008-06-03-DomFrontier.ll2
-rw-r--r--llvm/test/Transforms/LoopIndexSplit/2008-07-08-MisCompilation.ll2
-rw-r--r--llvm/test/Transforms/LoopIndexSplit/2008-09-17-IVUse.ll2
-rw-r--r--llvm/test/Transforms/LoopIndexSplit/2008-09-20-Crash.ll2
-rw-r--r--llvm/test/Transforms/LoopIndexSplit/2008-10-06-Crash.ll2
-rw-r--r--llvm/test/Transforms/LoopIndexSplit/2008-10-10-OneIteration.ll2
-rw-r--r--llvm/test/Transforms/LoopIndexSplit/2008-11-10-Sign.ll2
-rw-r--r--llvm/test/Transforms/LoopIndexSplit/2009-03-02-UpdateIterationSpace-crash.ll2
-rw-r--r--llvm/test/Transforms/LoopIndexSplit/Crash-2007-08-17.ll2
-rw-r--r--llvm/test/Transforms/LoopIndexSplit/Crash-2007-12-03.ll2
-rw-r--r--llvm/test/Transforms/LoopIndexSplit/Crash2-2007-08-17.ll2
-rw-r--r--llvm/test/Transforms/LoopIndexSplit/ExitCondition-2007-09-10.ll2
-rw-r--r--llvm/test/Transforms/LoopIndexSplit/OneIterLoop-2007-08-17.ll2
-rw-r--r--llvm/test/Transforms/LoopIndexSplit/OneIterLoop2-2007-08-17.ll2
-rw-r--r--llvm/test/Transforms/LoopIndexSplit/OneIterLoop3-2007-08-17.ll2
-rw-r--r--llvm/test/Transforms/LoopIndexSplit/PR3913.ll2
-rw-r--r--llvm/test/Transforms/LoopIndexSplit/SaveLastValue-2007-08-17.ll2
-rw-r--r--llvm/test/Transforms/LoopIndexSplit/SplitValue-2007-08-24-dbg.ll2
-rw-r--r--llvm/test/Transforms/LoopIndexSplit/SplitValue-2007-08-24.ll2
-rw-r--r--llvm/test/Transforms/LoopIndexSplit/UpperBound-2007-08-24.ll2
-rw-r--r--llvm/test/Transforms/LoopIndexSplit/non-iv-cmp-operand.ll2
32 files changed, 32 insertions, 32 deletions
diff --git a/llvm/test/Transforms/LoopIndexSplit/2007-09-21-LoopBound.ll b/llvm/test/Transforms/LoopIndexSplit/2007-09-21-LoopBound.ll
index 1c7252fd68f..d922ecbd4f5 100644
--- a/llvm/test/Transforms/LoopIndexSplit/2007-09-21-LoopBound.ll
+++ b/llvm/test/Transforms/LoopIndexSplit/2007-09-21-LoopBound.ll
@@ -1,5 +1,5 @@
; PR1692
-; RUN: opt %s -loop-index-split -disable-output
+; RUN: opt < %s -loop-index-split -disable-output
%struct.CLAUSE_HELP = type { i32, i32, i32, i32, i32*, i32, %struct.LIST_NODE*, %struct.LIST_NODE*, i32, i32, %struct.LITERAL_HELP**, i32, i32, i32, i32 }
%struct.LIST_NODE = type { %struct.LIST_NODE*, i8* }
%struct.LITERAL_HELP = type { i32, i32, i32, %struct.CLAUSE_HELP*, %struct.term* }
diff --git a/llvm/test/Transforms/LoopIndexSplit/2007-09-24-UpdateIterationSpace.ll b/llvm/test/Transforms/LoopIndexSplit/2007-09-24-UpdateIterationSpace.ll
index 47f4fe3160c..3ebd9b3401f 100644
--- a/llvm/test/Transforms/LoopIndexSplit/2007-09-24-UpdateIterationSpace.ll
+++ b/llvm/test/Transforms/LoopIndexSplit/2007-09-24-UpdateIterationSpace.ll
@@ -1,6 +1,6 @@
; Update loop iteraton space to eliminate condition inside loop.
-; RUN: opt %s -loop-index-split -S | not grep bothcond
+; RUN: opt < %s -loop-index-split -S | not grep bothcond
define void @test(float* %x, i32 %ndat, float** %y, float %xcen, i32 %xmin, i32 %xmax, float %sigmal, float %contribution) {
entry:
%tmp519 = icmp sgt i32 %xmin, %xmax ; <i1> [#uses=1]
diff --git a/llvm/test/Transforms/LoopIndexSplit/2007-09-25-UpdateIterationSpace-2.ll b/llvm/test/Transforms/LoopIndexSplit/2007-09-25-UpdateIterationSpace-2.ll
index c7b11caf05e..8f4ee24c123 100644
--- a/llvm/test/Transforms/LoopIndexSplit/2007-09-25-UpdateIterationSpace-2.ll
+++ b/llvm/test/Transforms/LoopIndexSplit/2007-09-25-UpdateIterationSpace-2.ll
@@ -1,6 +1,6 @@
; PR714
; Update loop iteraton space to eliminate condition inside loop.
-; RUN: opt %s -loop-index-split -S | not grep bothcond
+; RUN: opt < %s -loop-index-split -S | not grep bothcond
define void @test(float* %x, i32 %ndat, float** %y, float %xcen, i32 %xmin, i32 %xmax, float %sigmal, float %contribution) {
entry:
diff --git a/llvm/test/Transforms/LoopIndexSplit/2008-01-28-IndDecrement.ll b/llvm/test/Transforms/LoopIndexSplit/2008-01-28-IndDecrement.ll
index 0152c7f989d..1550bc7abb5 100644
--- a/llvm/test/Transforms/LoopIndexSplit/2008-01-28-IndDecrement.ll
+++ b/llvm/test/Transforms/LoopIndexSplit/2008-01-28-IndDecrement.ll
@@ -1,4 +1,4 @@
-; RUN: opt %s -loop-index-split -disable-output -stats |& \
+; RUN: opt < %s -loop-index-split -disable-output -stats |& \
; RUN: not grep "loop-index-split"
; Induction variable decrement is not yet handled.
diff --git a/llvm/test/Transforms/LoopIndexSplit/2008-02-08-Crash.ll b/llvm/test/Transforms/LoopIndexSplit/2008-02-08-Crash.ll
index dddb9fbd415..08474649435 100644
--- a/llvm/test/Transforms/LoopIndexSplit/2008-02-08-Crash.ll
+++ b/llvm/test/Transforms/LoopIndexSplit/2008-02-08-Crash.ll
@@ -1,4 +1,4 @@
-; RUN: opt %s -loop-index-split -disable-output
+; RUN: opt < %s -loop-index-split -disable-output
; PR 1995
define void @add_blkdev_randomness(i32 %major) nounwind {
diff --git a/llvm/test/Transforms/LoopIndexSplit/2008-02-13-ExitValueNum.ll b/llvm/test/Transforms/LoopIndexSplit/2008-02-13-ExitValueNum.ll
index ab2ed8488e7..980a42f20aa 100644
--- a/llvm/test/Transforms/LoopIndexSplit/2008-02-13-ExitValueNum.ll
+++ b/llvm/test/Transforms/LoopIndexSplit/2008-02-13-ExitValueNum.ll
@@ -1,4 +1,4 @@
-; RUN: opt %s -disable-output -loop-index-split
+; RUN: opt < %s -disable-output -loop-index-split
; PR 2011
%struct.CLAUSE_HELP = type { i32, i32, i32, i32, i32*, i32, %struct.LIST_NODE*, %struct.LIST_NODE*, i32, i32, %struct.LITERAL_HELP**, i32, i32, i32, i32 }
%struct.LIST_NODE = type { %struct.LIST_NODE*, i8* }
diff --git a/llvm/test/Transforms/LoopIndexSplit/2008-02-13-LoopLatch.ll b/llvm/test/Transforms/LoopIndexSplit/2008-02-13-LoopLatch.ll
index bf8baa72d68..9351cafcf64 100644
--- a/llvm/test/Transforms/LoopIndexSplit/2008-02-13-LoopLatch.ll
+++ b/llvm/test/Transforms/LoopIndexSplit/2008-02-13-LoopLatch.ll
@@ -1,4 +1,4 @@
-; RUN: opt %s -loop-index-split -disable-output
+; RUN: opt < %s -loop-index-split -disable-output
; PR 2011
%struct.CLAUSE_HELP = type { i32, i32, i32, i32, i32*, i32, %struct.LIST_NODE*, %struct.LIST_NODE*, i32, i32, %struct.LITERAL_HELP**, i32, i32, i32, i32 }
%struct.LIST_NODE = type { %struct.LIST_NODE*, i8* }
diff --git a/llvm/test/Transforms/LoopIndexSplit/2008-02-13-LoopLatchPHI.ll b/llvm/test/Transforms/LoopIndexSplit/2008-02-13-LoopLatchPHI.ll
index 72b25f92036..6d6defa85de 100644
--- a/llvm/test/Transforms/LoopIndexSplit/2008-02-13-LoopLatchPHI.ll
+++ b/llvm/test/Transforms/LoopIndexSplit/2008-02-13-LoopLatchPHI.ll
@@ -1,4 +1,4 @@
-; RUN: opt %s -loop-index-split -disable-output
+; RUN: opt < %s -loop-index-split -disable-output
; PR 2011
%struct.CLAUSE_HELP = type { i32, i32, i32, i32, i32*, i32, %struct.LIST_NODE*, %struct.LIST_NODE*, i32, i32, %struct.LITERAL_HELP**, i32, i32, i32, i32 }
%struct.LIST_NODE = type { %struct.LIST_NODE*, i8* }
diff --git a/llvm/test/Transforms/LoopIndexSplit/2008-02-14-Crash.ll b/llvm/test/Transforms/LoopIndexSplit/2008-02-14-Crash.ll
index 7bab623861d..f1a03e2f18a 100644
--- a/llvm/test/Transforms/LoopIndexSplit/2008-02-14-Crash.ll
+++ b/llvm/test/Transforms/LoopIndexSplit/2008-02-14-Crash.ll
@@ -1,4 +1,4 @@
-; RUN: opt %s -loop-index-split -disable-output
+; RUN: opt < %s -loop-index-split -disable-output
; PR 2030
%struct.FULL = type { i32, i32, [1000 x float*] }
diff --git a/llvm/test/Transforms/LoopIndexSplit/2008-03-24-ExitPhi.ll b/llvm/test/Transforms/LoopIndexSplit/2008-03-24-ExitPhi.ll
index d862f9c1f1b..ca22e50eadf 100644
--- a/llvm/test/Transforms/LoopIndexSplit/2008-03-24-ExitPhi.ll
+++ b/llvm/test/Transforms/LoopIndexSplit/2008-03-24-ExitPhi.ll
@@ -1,4 +1,4 @@
-; RUN: opt %s -loop-index-split -disable-output
+; RUN: opt < %s -loop-index-split -disable-output
; Handle Exit block phis that do not have any use inside the loop.
%struct.ATOM = type { double, double, double, double, double, double, i32, double, double, double, double, i8*, i8, [9 x i8], double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, [200 x i8*], [32 x i8*], [32 x i8], i32 }
diff --git a/llvm/test/Transforms/LoopIndexSplit/2008-05-19-IndVar.ll b/llvm/test/Transforms/LoopIndexSplit/2008-05-19-IndVar.ll
index bab3a130c76..7447e6d4d4f 100644
--- a/llvm/test/Transforms/LoopIndexSplit/2008-05-19-IndVar.ll
+++ b/llvm/test/Transforms/LoopIndexSplit/2008-05-19-IndVar.ll
@@ -1,4 +1,4 @@
-; RUN: opt %s -loop-index-split -stats -disable-output | not grep "loop-index-split"
+; RUN: opt < %s -loop-index-split -stats -disable-output | not grep "loop-index-split"
;PR2294
@g_2 = external global i16 ; <i16*> [#uses=4]
@g_5 = external global i32 ; <i32*> [#uses=1]
diff --git a/llvm/test/Transforms/LoopIndexSplit/2008-06-03-DomFrontier.ll b/llvm/test/Transforms/LoopIndexSplit/2008-06-03-DomFrontier.ll
index c35b66de957..6f691de537b 100644
--- a/llvm/test/Transforms/LoopIndexSplit/2008-06-03-DomFrontier.ll
+++ b/llvm/test/Transforms/LoopIndexSplit/2008-06-03-DomFrontier.ll
@@ -1,4 +1,4 @@
-; RUN: opt %s -loop-rotate -loop-unswitch -loop-index-split -instcombine -disable-output
+; RUN: opt < %s -loop-rotate -loop-unswitch -loop-index-split -instcombine -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:128:128"
target triple = "i386-apple-darwin9"
%struct.__CFData = type opaque
diff --git a/llvm/test/Transforms/LoopIndexSplit/2008-07-08-MisCompilation.ll b/llvm/test/Transforms/LoopIndexSplit/2008-07-08-MisCompilation.ll
index 061e4445968..1fcd960e051 100644
--- a/llvm/test/Transforms/LoopIndexSplit/2008-07-08-MisCompilation.ll
+++ b/llvm/test/Transforms/LoopIndexSplit/2008-07-08-MisCompilation.ll
@@ -1,4 +1,4 @@
-; RUN: opt %s -loop-index-split -stats -disable-output | not grep "1 loop-index-split"
+; RUN: opt < %s -loop-index-split -stats -disable-output | not grep "1 loop-index-split"
; PR 2487
@g_6 = external global i32 ; <i32*> [#uses=1]
diff --git a/llvm/test/Transforms/LoopIndexSplit/2008-09-17-IVUse.ll b/llvm/test/Transforms/LoopIndexSplit/2008-09-17-IVUse.ll
index 1757391759a..ee8e7a3eb86 100644
--- a/llvm/test/Transforms/LoopIndexSplit/2008-09-17-IVUse.ll
+++ b/llvm/test/Transforms/LoopIndexSplit/2008-09-17-IVUse.ll
@@ -1,4 +1,4 @@
-; RUN: opt %s -loop-index-split -stats -disable-output | not grep "loop-index-split"
+; RUN: opt < %s -loop-index-split -stats -disable-output | not grep "loop-index-split"
; PR 2791
@g_40 = common global i32 0 ; <i32*> [#uses=1]
@g_192 = common global i32 0 ; <i32*> [#uses=2]
diff --git a/llvm/test/Transforms/LoopIndexSplit/2008-09-20-Crash.ll b/llvm/test/Transforms/LoopIndexSplit/2008-09-20-Crash.ll
index 43acc7f01b1..ef677369cc4 100644
--- a/llvm/test/Transforms/LoopIndexSplit/2008-09-20-Crash.ll
+++ b/llvm/test/Transforms/LoopIndexSplit/2008-09-20-Crash.ll
@@ -1,4 +1,4 @@
-; RUN: opt %s -loop-index-split -disable-output
+; RUN: opt < %s -loop-index-split -disable-output
; PR 2805
@g_330 = common global i32 0 ; <i32*> [#uses=1]
diff --git a/llvm/test/Transforms/LoopIndexSplit/2008-10-06-Crash.ll b/llvm/test/Transforms/LoopIndexSplit/2008-10-06-Crash.ll
index 16582181788..cca54adb195 100644
--- a/llvm/test/Transforms/LoopIndexSplit/2008-10-06-Crash.ll
+++ b/llvm/test/Transforms/LoopIndexSplit/2008-10-06-Crash.ll
@@ -1,4 +1,4 @@
-; RUN: opt %s -loop-index-split -disable-output
+; RUN: opt < %s -loop-index-split -disable-output
%struct.RExC_state_t = type { i32, i8*, %struct.regexp*, i8*, i8*, i8*, i32, %struct.regnode*, %struct.regnode*, i32, i32, i32, i32, i32, i32, i32, i32, i32 }
%struct.SV = type { i8*, i32, i32 }
%struct.reg_data = type { i32, i8*, [1 x i8*] }
diff --git a/llvm/test/Transforms/LoopIndexSplit/2008-10-10-OneIteration.ll b/llvm/test/Transforms/LoopIndexSplit/2008-10-10-OneIteration.ll
index c55ac24330c..372fee51a09 100644
--- a/llvm/test/Transforms/LoopIndexSplit/2008-10-10-OneIteration.ll
+++ b/llvm/test/Transforms/LoopIndexSplit/2008-10-10-OneIteration.ll
@@ -1,4 +1,4 @@
-; RUN: opt %s -loop-index-split -stats -disable-output |& grep "1 loop-index-split"
+; RUN: opt < %s -loop-index-split -stats -disable-output |& grep "1 loop-index-split"
; PR 2869
@w = external global [2 x [2 x i32]] ; <[2 x [2 x i32]]*> [#uses=5]
diff --git a/llvm/test/Transforms/LoopIndexSplit/2008-11-10-Sign.ll b/llvm/test/Transforms/LoopIndexSplit/2008-11-10-Sign.ll
index 70960c3625d..217ff52bb2c 100644
--- a/llvm/test/Transforms/LoopIndexSplit/2008-11-10-Sign.ll
+++ b/llvm/test/Transforms/LoopIndexSplit/2008-11-10-Sign.ll
@@ -1,4 +1,4 @@
-; RUN: opt %s -loop-index-split -stats | not grep "loop-index-split"
+; RUN: opt < %s -loop-index-split -stats | not grep "loop-index-split"
; PR3029
@g_138 = common global i32 0 ; <i32*> [#uses=3]
diff --git a/llvm/test/Transforms/LoopIndexSplit/2009-03-02-UpdateIterationSpace-crash.ll b/llvm/test/Transforms/LoopIndexSplit/2009-03-02-UpdateIterationSpace-crash.ll
index d5b8f2c9f19..9acf3915c0a 100644
--- a/llvm/test/Transforms/LoopIndexSplit/2009-03-02-UpdateIterationSpace-crash.ll
+++ b/llvm/test/Transforms/LoopIndexSplit/2009-03-02-UpdateIterationSpace-crash.ll
@@ -1,4 +1,4 @@
-; RUN: opt %s -loop-index-split -disable-output
+; RUN: opt < %s -loop-index-split -disable-output
%struct.CGPoint = type { double, double }
%struct.IBCFMutableDictionary = type { %struct.NSMutableArray, %struct.__CFDictionary*, %struct.NSSortDescriptor*, %struct.NSSortDescriptor* }
%struct.IBInspectorMode = type opaque
diff --git a/llvm/test/Transforms/LoopIndexSplit/Crash-2007-08-17.ll b/llvm/test/Transforms/LoopIndexSplit/Crash-2007-08-17.ll
index 26b4870e846..ad2b794218c 100644
--- a/llvm/test/Transforms/LoopIndexSplit/Crash-2007-08-17.ll
+++ b/llvm/test/Transforms/LoopIndexSplit/Crash-2007-08-17.ll
@@ -1,4 +1,4 @@
-; RUN: opt %s -loop-index-split -disable-output
+; RUN: opt < %s -loop-index-split -disable-output
%struct._edit_script = type { %struct._edit_script*, i32, i8 }
diff --git a/llvm/test/Transforms/LoopIndexSplit/Crash-2007-12-03.ll b/llvm/test/Transforms/LoopIndexSplit/Crash-2007-12-03.ll
index 9bca6e70574..187484ad0bd 100644
--- a/llvm/test/Transforms/LoopIndexSplit/Crash-2007-12-03.ll
+++ b/llvm/test/Transforms/LoopIndexSplit/Crash-2007-12-03.ll
@@ -1,4 +1,4 @@
-; RUN: opt %s -loop-index-split -disable-output
+; RUN: opt < %s -loop-index-split -disable-output
; PR1828.bc
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"
target triple = "i686-pc-linux-gnu"
diff --git a/llvm/test/Transforms/LoopIndexSplit/Crash2-2007-08-17.ll b/llvm/test/Transforms/LoopIndexSplit/Crash2-2007-08-17.ll
index f746981a927..098e407a330 100644
--- a/llvm/test/Transforms/LoopIndexSplit/Crash2-2007-08-17.ll
+++ b/llvm/test/Transforms/LoopIndexSplit/Crash2-2007-08-17.ll
@@ -1,4 +1,4 @@
-; RUN: opt %s -loop-index-split -disable-output
+; RUN: opt < %s -loop-index-split -disable-output
%struct._edit_script = type { %struct._edit_script*, i32, i8 }
diff --git a/llvm/test/Transforms/LoopIndexSplit/ExitCondition-2007-09-10.ll b/llvm/test/Transforms/LoopIndexSplit/ExitCondition-2007-09-10.ll
index 8e3254c0075..a04715a7e95 100644
--- a/llvm/test/Transforms/LoopIndexSplit/ExitCondition-2007-09-10.ll
+++ b/llvm/test/Transforms/LoopIndexSplit/ExitCondition-2007-09-10.ll
@@ -1,4 +1,4 @@
-; RUN: opt %s -loop-index-split -disable-output
+; RUN: opt < %s -loop-index-split -disable-output
@k = external global i32 ; <i32*> [#uses=2]
diff --git a/llvm/test/Transforms/LoopIndexSplit/OneIterLoop-2007-08-17.ll b/llvm/test/Transforms/LoopIndexSplit/OneIterLoop-2007-08-17.ll
index fc4047d9fcc..d18b3b71aed 100644
--- a/llvm/test/Transforms/LoopIndexSplit/OneIterLoop-2007-08-17.ll
+++ b/llvm/test/Transforms/LoopIndexSplit/OneIterLoop-2007-08-17.ll
@@ -1,5 +1,5 @@
; Loop is elimianted
-; RUN: opt %s -loop-index-split -disable-output -stats |& \
+; RUN: opt < %s -loop-index-split -disable-output -stats |& \
; RUN: grep "loop-index-split" | count 1
%struct.anon = type { i32 }
@S1 = external global i32 ; <i32*> [#uses=1]
diff --git a/llvm/test/Transforms/LoopIndexSplit/OneIterLoop2-2007-08-17.ll b/llvm/test/Transforms/LoopIndexSplit/OneIterLoop2-2007-08-17.ll
index 92e1a3f6df4..ff73a5b44b3 100644
--- a/llvm/test/Transforms/LoopIndexSplit/OneIterLoop2-2007-08-17.ll
+++ b/llvm/test/Transforms/LoopIndexSplit/OneIterLoop2-2007-08-17.ll
@@ -1,5 +1,5 @@
; Loop is elimianted. Save last value assignment.
-; RUN: opt %s -loop-index-split -disable-output -stats |& \
+; RUN: opt < %s -loop-index-split -disable-output -stats |& \
; RUN: grep "loop-index-split" | count 1
%struct.anon = type { i32 }
diff --git a/llvm/test/Transforms/LoopIndexSplit/OneIterLoop3-2007-08-17.ll b/llvm/test/Transforms/LoopIndexSplit/OneIterLoop3-2007-08-17.ll
index b2bf19e4b1a..6adb2687768 100644
--- a/llvm/test/Transforms/LoopIndexSplit/OneIterLoop3-2007-08-17.ll
+++ b/llvm/test/Transforms/LoopIndexSplit/OneIterLoop3-2007-08-17.ll
@@ -1,5 +1,5 @@
; Loop is elimianted. Save last value assignments, including induction variable.
-; RUN: opt %s -loop-index-split -disable-output -stats | not grep "loop-index-split"
+; RUN: opt < %s -loop-index-split -disable-output -stats | not grep "loop-index-split"
declare i32 @foo(i32)
declare i32 @bar(i32, i32)
diff --git a/llvm/test/Transforms/LoopIndexSplit/PR3913.ll b/llvm/test/Transforms/LoopIndexSplit/PR3913.ll
index d3a93205e55..a2bf57c0516 100644
--- a/llvm/test/Transforms/LoopIndexSplit/PR3913.ll
+++ b/llvm/test/Transforms/LoopIndexSplit/PR3913.ll
@@ -1,4 +1,4 @@
-; RUN: opt %s -loop-index-split -S | not grep "icmp ne"
+; RUN: opt < %s -loop-index-split -S | not grep "icmp ne"
define i32 @main() {
entry:
diff --git a/llvm/test/Transforms/LoopIndexSplit/SaveLastValue-2007-08-17.ll b/llvm/test/Transforms/LoopIndexSplit/SaveLastValue-2007-08-17.ll
index 2271d3d2973..fc7d9e9862c 100644
--- a/llvm/test/Transforms/LoopIndexSplit/SaveLastValue-2007-08-17.ll
+++ b/llvm/test/Transforms/LoopIndexSplit/SaveLastValue-2007-08-17.ll
@@ -1,5 +1,5 @@
; Split loop. Save last value.
-; RUN: opt %s -loop-index-split -disable-output -stats |& \
+; RUN: opt < %s -loop-index-split -disable-output -stats |& \
; RUN: grep "loop-index-split" | count 1
@k = external global i32 ; <i32*> [#uses=2]
diff --git a/llvm/test/Transforms/LoopIndexSplit/SplitValue-2007-08-24-dbg.ll b/llvm/test/Transforms/LoopIndexSplit/SplitValue-2007-08-24-dbg.ll
index c163522a10b..09a6423bc0c 100644
--- a/llvm/test/Transforms/LoopIndexSplit/SplitValue-2007-08-24-dbg.ll
+++ b/llvm/test/Transforms/LoopIndexSplit/SplitValue-2007-08-24-dbg.ll
@@ -1,5 +1,5 @@
; Split loop. Save last value. Split value is off by one in this example.
-; RUN: opt %s -loop-index-split -disable-output -stats |& \
+; RUN: opt < %s -loop-index-split -disable-output -stats |& \
; RUN: grep "loop-index-split" | count 1
%llvm.dbg.anchor.type = type { i32, i32 }
diff --git a/llvm/test/Transforms/LoopIndexSplit/SplitValue-2007-08-24.ll b/llvm/test/Transforms/LoopIndexSplit/SplitValue-2007-08-24.ll
index 1ba2e0e6531..f61d9671409 100644
--- a/llvm/test/Transforms/LoopIndexSplit/SplitValue-2007-08-24.ll
+++ b/llvm/test/Transforms/LoopIndexSplit/SplitValue-2007-08-24.ll
@@ -1,5 +1,5 @@
; Split loop. Save last value. Split value is off by one in this example.
-; RUN: opt %s -loop-index-split -disable-output -stats |& \
+; RUN: opt < %s -loop-index-split -disable-output -stats |& \
; RUN: grep "loop-index-split" | count 1
@k = external global i32 ; <i32*> [#uses=2]
diff --git a/llvm/test/Transforms/LoopIndexSplit/UpperBound-2007-08-24.ll b/llvm/test/Transforms/LoopIndexSplit/UpperBound-2007-08-24.ll
index 6047cbcdcb8..17f75d7509e 100644
--- a/llvm/test/Transforms/LoopIndexSplit/UpperBound-2007-08-24.ll
+++ b/llvm/test/Transforms/LoopIndexSplit/UpperBound-2007-08-24.ll
@@ -1,6 +1,6 @@
; Split loop. Split value is a constant and greater then exit value.
; Check whether optimizer inserts proper checkfor split value or not.
-; RUN: opt %s -loop-index-split -S | grep select
+; RUN: opt < %s -loop-index-split -S | grep select
@k = external global i32 ; <i32*> [#uses=2]
diff --git a/llvm/test/Transforms/LoopIndexSplit/non-iv-cmp-operand.ll b/llvm/test/Transforms/LoopIndexSplit/non-iv-cmp-operand.ll
index cf970848143..6eed98177d0 100644
--- a/llvm/test/Transforms/LoopIndexSplit/non-iv-cmp-operand.ll
+++ b/llvm/test/Transforms/LoopIndexSplit/non-iv-cmp-operand.ll
@@ -1,4 +1,4 @@
-; RUN: opt %s -inline -reassociate -loop-rotate -loop-index-split -indvars -simplifycfg -verify
+; RUN: opt < %s -inline -reassociate -loop-rotate -loop-index-split -indvars -simplifycfg -verify
; PR4471
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"
OpenPOWER on IntegriCloud