summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/IndVarSimplify
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/Transforms/IndVarSimplify')
-rw-r--r--llvm/test/Transforms/IndVarSimplify/2003-09-12-MultiplePred.ll2
-rw-r--r--llvm/test/Transforms/IndVarSimplify/2003-12-10-IndVarDeadCode.ll2
-rw-r--r--llvm/test/Transforms/IndVarSimplify/2003-12-21-IndVarSize.ll2
-rw-r--r--llvm/test/Transforms/IndVarSimplify/2005-02-26-ExitValueCompute.ll2
-rw-r--r--llvm/test/Transforms/IndVarSimplify/2006-03-31-NegativeStride.ll2
-rw-r--r--llvm/test/Transforms/IndVarSimplify/2007-01-06-TripCount.ll2
-rw-r--r--llvm/test/Transforms/IndVarSimplify/2008-09-02-IVType.ll2
-rw-r--r--llvm/test/Transforms/IndVarSimplify/2008-11-03-Floating.ll2
-rw-r--r--llvm/test/Transforms/IndVarSimplify/2008-11-17-Floating.ll6
-rw-r--r--llvm/test/Transforms/IndVarSimplify/2009-04-14-shorten_iv_vars.ll2
-rw-r--r--llvm/test/Transforms/IndVarSimplify/2009-04-15-shorten-iv-vars-2.ll2
-rw-r--r--llvm/test/Transforms/IndVarSimplify/2009-04-27-Floating.ll2
-rw-r--r--llvm/test/Transforms/IndVarSimplify/ada-loops.ll2
-rw-r--r--llvm/test/Transforms/IndVarSimplify/addrec-gep.ll2
-rw-r--r--llvm/test/Transforms/IndVarSimplify/ashr-tripcount.ll2
-rw-r--r--llvm/test/Transforms/IndVarSimplify/complex-scev.ll2
-rw-r--r--llvm/test/Transforms/IndVarSimplify/gep-with-mul-base.ll2
-rw-r--r--llvm/test/Transforms/IndVarSimplify/iv-sext.ll2
-rw-r--r--llvm/test/Transforms/IndVarSimplify/iv-zext.ll2
-rw-r--r--llvm/test/Transforms/IndVarSimplify/lftr-promote.ll2
-rw-r--r--llvm/test/Transforms/IndVarSimplify/lftr_simple.ll2
-rw-r--r--llvm/test/Transforms/IndVarSimplify/loop_evaluate8.ll2
-rw-r--r--llvm/test/Transforms/IndVarSimplify/loop_evaluate9.ll2
-rw-r--r--llvm/test/Transforms/IndVarSimplify/loop_evaluate_1.ll2
-rw-r--r--llvm/test/Transforms/IndVarSimplify/loop_evaluate_3.ll2
-rw-r--r--llvm/test/Transforms/IndVarSimplify/loop_evaluate_4.ll2
-rw-r--r--llvm/test/Transforms/IndVarSimplify/loop_evaluate_5.ll2
-rw-r--r--llvm/test/Transforms/IndVarSimplify/loop_evaluate_6.ll2
-rw-r--r--llvm/test/Transforms/IndVarSimplify/masked-iv.ll2
-rw-r--r--llvm/test/Transforms/IndVarSimplify/max-pointer.ll2
-rw-r--r--llvm/test/Transforms/IndVarSimplify/pointer-indvars.ll2
-rw-r--r--llvm/test/Transforms/IndVarSimplify/pointer.ll2
-rw-r--r--llvm/test/Transforms/IndVarSimplify/preserve-gep-nested.ll2
-rw-r--r--llvm/test/Transforms/IndVarSimplify/preserve-gep.ll2
-rw-r--r--llvm/test/Transforms/IndVarSimplify/preserve-signed-wrap.ll2
-rw-r--r--llvm/test/Transforms/IndVarSimplify/promote-iv-to-eliminate-casts.ll2
-rw-r--r--llvm/test/Transforms/IndVarSimplify/signed-trip-count.ll2
-rw-r--r--llvm/test/Transforms/IndVarSimplify/sink-alloca.ll2
-rw-r--r--llvm/test/Transforms/IndVarSimplify/sink-trapping.ll2
-rw-r--r--llvm/test/Transforms/IndVarSimplify/subtract.ll2
-rw-r--r--llvm/test/Transforms/IndVarSimplify/tripcount_compute.ll2
-rw-r--r--llvm/test/Transforms/IndVarSimplify/tripcount_infinite.ll2
-rw-r--r--llvm/test/Transforms/IndVarSimplify/variable-stride-ivs-0.ll2
43 files changed, 45 insertions, 45 deletions
diff --git a/llvm/test/Transforms/IndVarSimplify/2003-09-12-MultiplePred.ll b/llvm/test/Transforms/IndVarSimplify/2003-09-12-MultiplePred.ll
index 8ac714ce603..a5bb87eecf9 100644
--- a/llvm/test/Transforms/IndVarSimplify/2003-09-12-MultiplePred.ll
+++ b/llvm/test/Transforms/IndVarSimplify/2003-09-12-MultiplePred.ll
@@ -1,4 +1,4 @@
-; RUN: opt %s -indvars | llvm-dis | grep indvar
+; RUN: opt %s -indvars -S | grep indvar
define i32 @test() {
; <label>:0
diff --git a/llvm/test/Transforms/IndVarSimplify/2003-12-10-IndVarDeadCode.ll b/llvm/test/Transforms/IndVarSimplify/2003-12-10-IndVarDeadCode.ll
index 6f0b9942d5c..189ae950dd3 100644
--- a/llvm/test/Transforms/IndVarSimplify/2003-12-10-IndVarDeadCode.ll
+++ b/llvm/test/Transforms/IndVarSimplify/2003-12-10-IndVarDeadCode.ll
@@ -1,7 +1,7 @@
; The induction variable canonicalization pass shouldn't leave dead
; instructions laying around!
;
-; RUN: opt %s -indvars | llvm-dis | \
+; RUN: opt %s -indvars -S | \
; RUN: not grep {#uses=0}
define i32 @mul(i32 %x, i32 %y) {
diff --git a/llvm/test/Transforms/IndVarSimplify/2003-12-21-IndVarSize.ll b/llvm/test/Transforms/IndVarSimplify/2003-12-21-IndVarSize.ll
index bed49a8de2d..7f9bb0d4220 100644
--- a/llvm/test/Transforms/IndVarSimplify/2003-12-21-IndVarSize.ll
+++ b/llvm/test/Transforms/IndVarSimplify/2003-12-21-IndVarSize.ll
@@ -1,4 +1,4 @@
-; RUN: opt %s -indvars | llvm-dis | grep indvar | not grep i32
+; RUN: opt %s -indvars -S | grep indvar | not grep i32
@G = global i64 0 ; <i64*> [#uses=1]
diff --git a/llvm/test/Transforms/IndVarSimplify/2005-02-26-ExitValueCompute.ll b/llvm/test/Transforms/IndVarSimplify/2005-02-26-ExitValueCompute.ll
index f99dbce28b9..4b55d8707c9 100644
--- a/llvm/test/Transforms/IndVarSimplify/2005-02-26-ExitValueCompute.ll
+++ b/llvm/test/Transforms/IndVarSimplify/2005-02-26-ExitValueCompute.ll
@@ -1,4 +1,4 @@
-; RUN: opt %s -indvars | llvm-dis | \
+; RUN: opt %s -indvars -S | \
; RUN: grep {ret i32 152}
define i32 @main() {
diff --git a/llvm/test/Transforms/IndVarSimplify/2006-03-31-NegativeStride.ll b/llvm/test/Transforms/IndVarSimplify/2006-03-31-NegativeStride.ll
index f6570395e3e..82e1a6b56bf 100644
--- a/llvm/test/Transforms/IndVarSimplify/2006-03-31-NegativeStride.ll
+++ b/llvm/test/Transforms/IndVarSimplify/2006-03-31-NegativeStride.ll
@@ -1,5 +1,5 @@
; PR726
-; RUN: opt %s -indvars | llvm-dis | \
+; RUN: opt %s -indvars -S | \
; RUN: grep {ret i32 27}
; Make sure to compute the right exit value based on negative strides.
diff --git a/llvm/test/Transforms/IndVarSimplify/2007-01-06-TripCount.ll b/llvm/test/Transforms/IndVarSimplify/2007-01-06-TripCount.ll
index 02791a1342c..d68541c1d54 100644
--- a/llvm/test/Transforms/IndVarSimplify/2007-01-06-TripCount.ll
+++ b/llvm/test/Transforms/IndVarSimplify/2007-01-06-TripCount.ll
@@ -1,5 +1,5 @@
; PR1015
-; RUN: opt %s -indvars | llvm-dis | not grep {ret i32 0}
+; RUN: opt %s -indvars -S | not grep {ret i32 0}
target datalayout = "e-p:32:32"
target triple = "i686-apple-darwin8"
diff --git a/llvm/test/Transforms/IndVarSimplify/2008-09-02-IVType.ll b/llvm/test/Transforms/IndVarSimplify/2008-09-02-IVType.ll
index 75c559c48a9..1822fa54346 100644
--- a/llvm/test/Transforms/IndVarSimplify/2008-09-02-IVType.ll
+++ b/llvm/test/Transforms/IndVarSimplify/2008-09-02-IVType.ll
@@ -1,4 +1,4 @@
-; RUN: opt %s -indvars | llvm-dis | grep sext | count 1
+; RUN: opt %s -indvars -S | grep sext | count 1
; ModuleID = '<stdin>'
%struct.App1Marker = type <{ i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 }>
diff --git a/llvm/test/Transforms/IndVarSimplify/2008-11-03-Floating.ll b/llvm/test/Transforms/IndVarSimplify/2008-11-03-Floating.ll
index 4eba4cb5e0a..d352da66621 100644
--- a/llvm/test/Transforms/IndVarSimplify/2008-11-03-Floating.ll
+++ b/llvm/test/Transforms/IndVarSimplify/2008-11-03-Floating.ll
@@ -1,4 +1,4 @@
-; RUN: opt %s -indvars | llvm-dis | grep icmp | count 4
+; RUN: opt %s -indvars -S | grep icmp | count 4
define void @bar() nounwind {
entry:
br label %bb
diff --git a/llvm/test/Transforms/IndVarSimplify/2008-11-17-Floating.ll b/llvm/test/Transforms/IndVarSimplify/2008-11-17-Floating.ll
index 00d9feaf70f..137a5f43ba1 100644
--- a/llvm/test/Transforms/IndVarSimplify/2008-11-17-Floating.ll
+++ b/llvm/test/Transforms/IndVarSimplify/2008-11-17-Floating.ll
@@ -1,6 +1,6 @@
-; RUN: opt %s -indvars | llvm-dis | grep icmp | count 2
-; RUN: opt %s -indvars | llvm-dis | grep sitofp | count 1
-; RUN: opt %s -indvars | llvm-dis | grep uitofp | count 1
+; RUN: opt %s -indvars -S | grep icmp | count 2
+; RUN: opt %s -indvars -S | grep sitofp | count 1
+; RUN: opt %s -indvars -S | grep uitofp | count 1
define void @bar() nounwind {
entry:
diff --git a/llvm/test/Transforms/IndVarSimplify/2009-04-14-shorten_iv_vars.ll b/llvm/test/Transforms/IndVarSimplify/2009-04-14-shorten_iv_vars.ll
index bf5edf094c8..8b9554ba93a 100644
--- a/llvm/test/Transforms/IndVarSimplify/2009-04-14-shorten_iv_vars.ll
+++ b/llvm/test/Transforms/IndVarSimplify/2009-04-14-shorten_iv_vars.ll
@@ -1,4 +1,4 @@
-; RUN: opt %s -indvars | llvm-dis | not grep {sext}
+; RUN: opt %s -indvars -S | not grep {sext}
; ModuleID = '<stdin>'
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-apple-darwin9.6"
diff --git a/llvm/test/Transforms/IndVarSimplify/2009-04-15-shorten-iv-vars-2.ll b/llvm/test/Transforms/IndVarSimplify/2009-04-15-shorten-iv-vars-2.ll
index 4a94939838f..10f52b64cef 100644
--- a/llvm/test/Transforms/IndVarSimplify/2009-04-15-shorten-iv-vars-2.ll
+++ b/llvm/test/Transforms/IndVarSimplify/2009-04-15-shorten-iv-vars-2.ll
@@ -1,4 +1,4 @@
-; RUN: opt %s -indvars -instcombine | llvm-dis | not grep {\[sz\]ext}
+; RUN: opt %s -indvars -instcombine -S | not grep {\[sz\]ext}
; ModuleID = '<stdin>'
;extern int *a, *b, *c, *d, *e, *f; /* 64 bit */
;extern int K[256];
diff --git a/llvm/test/Transforms/IndVarSimplify/2009-04-27-Floating.ll b/llvm/test/Transforms/IndVarSimplify/2009-04-27-Floating.ll
index 23a46e77446..3a311718417 100644
--- a/llvm/test/Transforms/IndVarSimplify/2009-04-27-Floating.ll
+++ b/llvm/test/Transforms/IndVarSimplify/2009-04-27-Floating.ll
@@ -1,4 +1,4 @@
-; RUN: opt %s -indvars | llvm-dis | grep icmp | grep next
+; RUN: opt %s -indvars -S | grep icmp | grep next
; PR4086
declare void @foo()
diff --git a/llvm/test/Transforms/IndVarSimplify/ada-loops.ll b/llvm/test/Transforms/IndVarSimplify/ada-loops.ll
index 85077b7ab43..b5fcbed8fc8 100644
--- a/llvm/test/Transforms/IndVarSimplify/ada-loops.ll
+++ b/llvm/test/Transforms/IndVarSimplify/ada-loops.ll
@@ -1,4 +1,4 @@
-; RUN: opt %s -indvars | llvm-dis > %t
+; RUN: opt %s -indvars -S > %t
; RUN: grep phi %t | count 4
; RUN: grep {= phi i32} %t | count 4
; RUN: not grep {sext i} %t
diff --git a/llvm/test/Transforms/IndVarSimplify/addrec-gep.ll b/llvm/test/Transforms/IndVarSimplify/addrec-gep.ll
index 37f24532cff..319fd5ecef3 100644
--- a/llvm/test/Transforms/IndVarSimplify/addrec-gep.ll
+++ b/llvm/test/Transforms/IndVarSimplify/addrec-gep.ll
@@ -1,4 +1,4 @@
-; RUN: opt %s -indvars | llvm-dis > %t
+; RUN: opt %s -indvars -S > %t
; RUN: grep getelementptr %t | count 1
; RUN: grep {mul .*, 37} %t | count 1
; RUN: grep {add .*, 5203} %t | count 1
diff --git a/llvm/test/Transforms/IndVarSimplify/ashr-tripcount.ll b/llvm/test/Transforms/IndVarSimplify/ashr-tripcount.ll
index c1a4058cac0..5d63c0caa1e 100644
--- a/llvm/test/Transforms/IndVarSimplify/ashr-tripcount.ll
+++ b/llvm/test/Transforms/IndVarSimplify/ashr-tripcount.ll
@@ -1,4 +1,4 @@
-; RUN: opt %s -indvars | llvm-dis > %t
+; RUN: opt %s -indvars -S > %t
; RUN: grep sext %t | count 1
; Indvars should be able to eliminate all of the sign extensions
diff --git a/llvm/test/Transforms/IndVarSimplify/complex-scev.ll b/llvm/test/Transforms/IndVarSimplify/complex-scev.ll
index eca76886e09..28e9e4a97ef 100644
--- a/llvm/test/Transforms/IndVarSimplify/complex-scev.ll
+++ b/llvm/test/Transforms/IndVarSimplify/complex-scev.ll
@@ -1,7 +1,7 @@
; The i induction variable looks like a wrap-around, but it really is just
; a simple affine IV. Make sure that indvars eliminates it.
-; RUN: opt %s -indvars | llvm-dis | grep phi | count 1
+; RUN: opt %s -indvars -S | grep phi | count 1
define void @foo() {
entry:
diff --git a/llvm/test/Transforms/IndVarSimplify/gep-with-mul-base.ll b/llvm/test/Transforms/IndVarSimplify/gep-with-mul-base.ll
index b1399b82ddd..78095940763 100644
--- a/llvm/test/Transforms/IndVarSimplify/gep-with-mul-base.ll
+++ b/llvm/test/Transforms/IndVarSimplify/gep-with-mul-base.ll
@@ -1,4 +1,4 @@
-; RUN: opt %s -indvars | llvm-dis > %t
+; RUN: opt < %s -indvars -S > %t
; RUN: grep add %t | count 8
; RUN: grep mul %t | count 7
diff --git a/llvm/test/Transforms/IndVarSimplify/iv-sext.ll b/llvm/test/Transforms/IndVarSimplify/iv-sext.ll
index eaa9eecaf83..8f3ce92f3c2 100644
--- a/llvm/test/Transforms/IndVarSimplify/iv-sext.ll
+++ b/llvm/test/Transforms/IndVarSimplify/iv-sext.ll
@@ -1,4 +1,4 @@
-; RUN: opt %s -indvars | llvm-dis > %t
+; RUN: opt %s -indvars -S > %t
; RUN: grep {= sext} %t | count 4
; RUN: grep {phi i64} %t | count 2
diff --git a/llvm/test/Transforms/IndVarSimplify/iv-zext.ll b/llvm/test/Transforms/IndVarSimplify/iv-zext.ll
index b7628154d72..1cc559fd79f 100644
--- a/llvm/test/Transforms/IndVarSimplify/iv-zext.ll
+++ b/llvm/test/Transforms/IndVarSimplify/iv-zext.ll
@@ -1,4 +1,4 @@
-; RUN: opt %s -indvars | llvm-dis > %t
+; RUN: opt < %s -indvars -S > %t
; RUN: not grep and %t
; RUN: not grep zext %t
diff --git a/llvm/test/Transforms/IndVarSimplify/lftr-promote.ll b/llvm/test/Transforms/IndVarSimplify/lftr-promote.ll
index b9bf3d2de2d..29a5b6f860e 100644
--- a/llvm/test/Transforms/IndVarSimplify/lftr-promote.ll
+++ b/llvm/test/Transforms/IndVarSimplify/lftr-promote.ll
@@ -1,4 +1,4 @@
-; RUN: opt %s -indvars | llvm-dis | grep add | count 1
+; RUN: opt %s -indvars -S | grep add | count 1
; Indvars should be able to compute the exit value of this loop
; without any additional arithmetic. The only add needed should
diff --git a/llvm/test/Transforms/IndVarSimplify/lftr_simple.ll b/llvm/test/Transforms/IndVarSimplify/lftr_simple.ll
index 686185d797b..37603eb6c2e 100644
--- a/llvm/test/Transforms/IndVarSimplify/lftr_simple.ll
+++ b/llvm/test/Transforms/IndVarSimplify/lftr_simple.ll
@@ -1,6 +1,6 @@
; LFTR should eliminate the need for the computation of i*i completely. It
; is only used to compute the exit value.
-; RUN: opt %s -indvars -dce | llvm-dis | not grep mul
+; RUN: opt %s -indvars -dce -S | not grep mul
@A = external global i32 ; <i32*> [#uses=1]
diff --git a/llvm/test/Transforms/IndVarSimplify/loop_evaluate8.ll b/llvm/test/Transforms/IndVarSimplify/loop_evaluate8.ll
index 969de427c0e..9ea99620f52 100644
--- a/llvm/test/Transforms/IndVarSimplify/loop_evaluate8.ll
+++ b/llvm/test/Transforms/IndVarSimplify/loop_evaluate8.ll
@@ -1,4 +1,4 @@
-; RUN: opt %s -indvars | llvm-dis | not grep select
+; RUN: opt %s -indvars -S | not grep select
; This loop has backedge-taken-count zero. Indvars shouldn't expand any
; instructions to compute a trip count.
diff --git a/llvm/test/Transforms/IndVarSimplify/loop_evaluate9.ll b/llvm/test/Transforms/IndVarSimplify/loop_evaluate9.ll
index 7f13841807f..9dd7ef0ff68 100644
--- a/llvm/test/Transforms/IndVarSimplify/loop_evaluate9.ll
+++ b/llvm/test/Transforms/IndVarSimplify/loop_evaluate9.ll
@@ -1,4 +1,4 @@
-; RUN: opt %s -indvars | llvm-dis > %t
+; RUN: opt %s -indvars -S > %t
; RUN: grep {\[%\]tmp7 = icmp eq i8 -28, -28} %t
; RUN: grep {\[%\]tmp8 = icmp eq i8 63, 63} %t
; PR4477
diff --git a/llvm/test/Transforms/IndVarSimplify/loop_evaluate_1.ll b/llvm/test/Transforms/IndVarSimplify/loop_evaluate_1.ll
index cd75c436910..c57ab0dc181 100644
--- a/llvm/test/Transforms/IndVarSimplify/loop_evaluate_1.ll
+++ b/llvm/test/Transforms/IndVarSimplify/loop_evaluate_1.ll
@@ -1,4 +1,4 @@
-; RUN: opt %s -indvars -loop-deletion -simplifycfg | llvm-dis | not grep br
+; RUN: opt %s -indvars -loop-deletion -simplifycfg -S | not grep br
;
; Testcase distilled from 256.bzip2
diff --git a/llvm/test/Transforms/IndVarSimplify/loop_evaluate_3.ll b/llvm/test/Transforms/IndVarSimplify/loop_evaluate_3.ll
index cff09ba4cc5..787c284089e 100644
--- a/llvm/test/Transforms/IndVarSimplify/loop_evaluate_3.ll
+++ b/llvm/test/Transforms/IndVarSimplify/loop_evaluate_3.ll
@@ -1,4 +1,4 @@
-; RUN: opt %s -indvars | llvm-dis | grep {ret i32 600000}
+; RUN: opt %s -indvars -S | grep {ret i32 600000}
; PR1179
define i32 @foo() {
diff --git a/llvm/test/Transforms/IndVarSimplify/loop_evaluate_4.ll b/llvm/test/Transforms/IndVarSimplify/loop_evaluate_4.ll
index 6d2b004a2ae..f7959459f84 100644
--- a/llvm/test/Transforms/IndVarSimplify/loop_evaluate_4.ll
+++ b/llvm/test/Transforms/IndVarSimplify/loop_evaluate_4.ll
@@ -1,4 +1,4 @@
-; RUN: opt %s -indvars | llvm-dis | grep {ret i32 9900}
+; RUN: opt %s -indvars -S | grep {ret i32 9900}
; PR1179
define i32 @test4() {
diff --git a/llvm/test/Transforms/IndVarSimplify/loop_evaluate_5.ll b/llvm/test/Transforms/IndVarSimplify/loop_evaluate_5.ll
index 7851a70afbb..0d9ed0a8a05 100644
--- a/llvm/test/Transforms/IndVarSimplify/loop_evaluate_5.ll
+++ b/llvm/test/Transforms/IndVarSimplify/loop_evaluate_5.ll
@@ -1,4 +1,4 @@
-; RUN: opt %s -indvars | llvm-dis | grep {120, %bb2.bb3_crit_edge}
+; RUN: opt %s -indvars -S | grep {120, %bb2.bb3_crit_edge}
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"
target triple = "i686-pc-linux-gnu"
diff --git a/llvm/test/Transforms/IndVarSimplify/loop_evaluate_6.ll b/llvm/test/Transforms/IndVarSimplify/loop_evaluate_6.ll
index d434e7909ac..aa8fe30a86a 100644
--- a/llvm/test/Transforms/IndVarSimplify/loop_evaluate_6.ll
+++ b/llvm/test/Transforms/IndVarSimplify/loop_evaluate_6.ll
@@ -1,4 +1,4 @@
-; RUN: opt %s -indvars -loop-deletion | llvm-dis | grep phi | count 1
+; RUN: opt %s -indvars -loop-deletion -S | grep phi | count 1
; XFAIL: *
; Indvars can't evaluate this loop, because ScalarEvolution can't compute
diff --git a/llvm/test/Transforms/IndVarSimplify/masked-iv.ll b/llvm/test/Transforms/IndVarSimplify/masked-iv.ll
index 94829c4a70e..01388522243 100644
--- a/llvm/test/Transforms/IndVarSimplify/masked-iv.ll
+++ b/llvm/test/Transforms/IndVarSimplify/masked-iv.ll
@@ -1,4 +1,4 @@
-; RUN: opt %s -indvars | llvm-dis > %t
+; RUN: opt %s -indvars -S > %t
; RUN: not grep trunc %t
; RUN: grep and %t | count 1
diff --git a/llvm/test/Transforms/IndVarSimplify/max-pointer.ll b/llvm/test/Transforms/IndVarSimplify/max-pointer.ll
index dce6d70cce5..644e3ec071d 100644
--- a/llvm/test/Transforms/IndVarSimplify/max-pointer.ll
+++ b/llvm/test/Transforms/IndVarSimplify/max-pointer.ll
@@ -1,4 +1,4 @@
-; RUN: opt %s -indvars | llvm-dis > %t
+; RUN: opt %s -indvars -S > %t
; RUN: grep {icmp ugt i8\\\*} %t | count 1
; RUN: grep {icmp sgt i8\\\*} %t | count 1
diff --git a/llvm/test/Transforms/IndVarSimplify/pointer-indvars.ll b/llvm/test/Transforms/IndVarSimplify/pointer-indvars.ll
index 896a3d7e20f..c2dee6a72ed 100644
--- a/llvm/test/Transforms/IndVarSimplify/pointer-indvars.ll
+++ b/llvm/test/Transforms/IndVarSimplify/pointer-indvars.ll
@@ -1,4 +1,4 @@
-; RUN: opt %s -indvars | llvm-dis | grep indvar
+; RUN: opt %s -indvars -S | grep indvar
@G = global i32* null ; <i32**> [#uses=1]
@Array = external global [40 x i32] ; <[40 x i32]*> [#uses=1]
diff --git a/llvm/test/Transforms/IndVarSimplify/pointer.ll b/llvm/test/Transforms/IndVarSimplify/pointer.ll
index 0a105800183..ae59055fc67 100644
--- a/llvm/test/Transforms/IndVarSimplify/pointer.ll
+++ b/llvm/test/Transforms/IndVarSimplify/pointer.ll
@@ -1,4 +1,4 @@
-; RUN: opt %s -indvars | llvm-dis > %t
+; RUN: opt %s -indvars -S > %t
; RUN: grep {%exitcond = icmp eq i64 %indvar.next, %n} %t
; RUN: grep {getelementptr i8\\* %A, i64 %indvar} %t
; RUN: grep getelementptr %t | count 1
diff --git a/llvm/test/Transforms/IndVarSimplify/preserve-gep-nested.ll b/llvm/test/Transforms/IndVarSimplify/preserve-gep-nested.ll
index 602deddefd9..a247f7b499d 100644
--- a/llvm/test/Transforms/IndVarSimplify/preserve-gep-nested.ll
+++ b/llvm/test/Transforms/IndVarSimplify/preserve-gep-nested.ll
@@ -1,4 +1,4 @@
-; RUN: opt %s -indvars | llvm-dis > %t
+; RUN: opt %s -indvars -S > %t
; Exactly one getelementptr for each load+store.
; RUN: grep getelementptr %t | count 6
; Each getelementptr using %struct.Q* %s as a base and not i8*.
diff --git a/llvm/test/Transforms/IndVarSimplify/preserve-gep.ll b/llvm/test/Transforms/IndVarSimplify/preserve-gep.ll
index 0bb338a8c31..8781d748fa6 100644
--- a/llvm/test/Transforms/IndVarSimplify/preserve-gep.ll
+++ b/llvm/test/Transforms/IndVarSimplify/preserve-gep.ll
@@ -1,4 +1,4 @@
-; RUN: opt %s -indvars | llvm-dis > %t
+; RUN: opt %s -indvars -S > %t
; RUN: not grep ptrtoint %t
; RUN: not grep inttoptr %t
; RUN: grep getelementptr %t | count 1
diff --git a/llvm/test/Transforms/IndVarSimplify/preserve-signed-wrap.ll b/llvm/test/Transforms/IndVarSimplify/preserve-signed-wrap.ll
index c649fbe1449..2727752ba07 100644
--- a/llvm/test/Transforms/IndVarSimplify/preserve-signed-wrap.ll
+++ b/llvm/test/Transforms/IndVarSimplify/preserve-signed-wrap.ll
@@ -1,4 +1,4 @@
-; RUN: opt %s -indvars | llvm-dis > %t
+; RUN: opt %s -indvars -S > %t
; RUN: grep sext %t | count 1
; RUN: grep phi %t | count 1
; RUN: grep {phi i64} %t
diff --git a/llvm/test/Transforms/IndVarSimplify/promote-iv-to-eliminate-casts.ll b/llvm/test/Transforms/IndVarSimplify/promote-iv-to-eliminate-casts.ll
index 6b88a1e198b..4f46cafbe52 100644
--- a/llvm/test/Transforms/IndVarSimplify/promote-iv-to-eliminate-casts.ll
+++ b/llvm/test/Transforms/IndVarSimplify/promote-iv-to-eliminate-casts.ll
@@ -1,4 +1,4 @@
-; RUN: opt %s -indvars | llvm-dis > %t
+; RUN: opt %s -indvars -S > %t
; RUN: not grep sext %t
define i64 @test(i64* nocapture %first, i32 %count) nounwind readonly {
diff --git a/llvm/test/Transforms/IndVarSimplify/signed-trip-count.ll b/llvm/test/Transforms/IndVarSimplify/signed-trip-count.ll
index 40ff26b017f..d16abd45137 100644
--- a/llvm/test/Transforms/IndVarSimplify/signed-trip-count.ll
+++ b/llvm/test/Transforms/IndVarSimplify/signed-trip-count.ll
@@ -1,4 +1,4 @@
-; RUN: opt %s -indvars | llvm-dis > %t
+; RUN: opt %s -indvars -S > %t
; RUN: not grep sext %t
; RUN: grep phi %t | count 1
diff --git a/llvm/test/Transforms/IndVarSimplify/sink-alloca.ll b/llvm/test/Transforms/IndVarSimplify/sink-alloca.ll
index a3a3ceac74d..38448d8ff5d 100644
--- a/llvm/test/Transforms/IndVarSimplify/sink-alloca.ll
+++ b/llvm/test/Transforms/IndVarSimplify/sink-alloca.ll
@@ -1,4 +1,4 @@
-; RUN: opt %s -indvars | llvm-dis | FileCheck %s
+; RUN: opt %s -indvars -S | FileCheck %s
; PR4775
; Indvars shouldn't sink the alloca out of the entry block, even though
diff --git a/llvm/test/Transforms/IndVarSimplify/sink-trapping.ll b/llvm/test/Transforms/IndVarSimplify/sink-trapping.ll
index 9e5477bb624..7544e011ab5 100644
--- a/llvm/test/Transforms/IndVarSimplify/sink-trapping.ll
+++ b/llvm/test/Transforms/IndVarSimplify/sink-trapping.ll
@@ -1,4 +1,4 @@
-; RUN: opt %s -indvars | llvm-dis | FileCheck %s --check-prefix=CHECK
+; RUN: opt %s -indvars -S | FileCheck %s --check-prefix=CHECK
declare i1 @b()
diff --git a/llvm/test/Transforms/IndVarSimplify/subtract.ll b/llvm/test/Transforms/IndVarSimplify/subtract.ll
index abbe518f06a..db8136ac21f 100644
--- a/llvm/test/Transforms/IndVarSimplify/subtract.ll
+++ b/llvm/test/Transforms/IndVarSimplify/subtract.ll
@@ -1,4 +1,4 @@
-; RUN: opt %s -indvars | llvm-dis | grep indvar
+; RUN: opt %s -indvars -S | grep indvar
@G = global i64 0 ; <i64*> [#uses=1]
diff --git a/llvm/test/Transforms/IndVarSimplify/tripcount_compute.ll b/llvm/test/Transforms/IndVarSimplify/tripcount_compute.ll
index c7b9bafcaa0..63338213ac8 100644
--- a/llvm/test/Transforms/IndVarSimplify/tripcount_compute.ll
+++ b/llvm/test/Transforms/IndVarSimplify/tripcount_compute.ll
@@ -3,7 +3,7 @@
; the exit value of the loop will be for some value, allowing us to substitute
; it directly into users outside of the loop, making the loop dead.
;
-; RUN: opt %s -indvars -loop-deletion -simplifycfg | llvm-dis | not grep br
+; RUN: opt %s -indvars -loop-deletion -simplifycfg -S | not grep br
define i32 @linear_setne() {
entry:
diff --git a/llvm/test/Transforms/IndVarSimplify/tripcount_infinite.ll b/llvm/test/Transforms/IndVarSimplify/tripcount_infinite.ll
index 7df4fcbfa3e..db457447c83 100644
--- a/llvm/test/Transforms/IndVarSimplify/tripcount_infinite.ll
+++ b/llvm/test/Transforms/IndVarSimplify/tripcount_infinite.ll
@@ -1,7 +1,7 @@
; These tests have an infinite trip count. We obviously shouldn't remove the
; loops! :)
;
-; RUN: opt %s -indvars -adce -simplifycfg | llvm-dis | grep icmp | wc -l > %t2
+; RUN: opt %s -indvars -adce -simplifycfg -S | grep icmp | wc -l > %t2
; RUN: llvm-as < %s | llvm-dis | grep icmp | wc -l > %t1
; RUN: diff %t1 %t2
diff --git a/llvm/test/Transforms/IndVarSimplify/variable-stride-ivs-0.ll b/llvm/test/Transforms/IndVarSimplify/variable-stride-ivs-0.ll
index fb0323c4bd7..b4d510deca7 100644
--- a/llvm/test/Transforms/IndVarSimplify/variable-stride-ivs-0.ll
+++ b/llvm/test/Transforms/IndVarSimplify/variable-stride-ivs-0.ll
@@ -1,4 +1,4 @@
-; RUN: opt %s -indvars -instcombine | llvm-dis | \
+; RUN: opt %s -indvars -instcombine -S | \
; RUN: grep {store i32 0}
; Test that -indvars can reduce variable stride IVs. If it can reduce variable
; stride iv's, it will make %iv. and %m.0.0 isomorphic to each other without
OpenPOWER on IntegriCloud