[llvm-commits] [llvm] r81261 - in /llvm/trunk/test: Analysis/Andersens/modreftest.ll Analysis/Andersens/modreftest2.ll Analysis/BasicAA/gcsetest.ll Transforms/IndVarSimplify/loop_evaluate10.ll Transforms/IndVarSimplify/preserve-gep-remainder.ll Transforms/InstCombine/udiv_select_to_select_shift.ll Transforms/LoopSimplify/merge-exits.ll Transforms/LoopStrengthReduce/2009-04-28-no-reduce-mul.ll Transforms/LoopStrengthReduce/dont_reverse.ll Transforms/SimplifyCFG/branch-cond-merge.ll
Dan Gohman
gohman at apple.com
Tue Sep 8 15:41:33 PDT 2009
Author: djg
Date: Tue Sep 8 17:41:33 2009
New Revision: 81261
URL: http://llvm.org/viewvc/llvm-project?rev=81261&view=rev
Log:
Convert a few more opt | llvm-dis to opt -S.
Modified:
llvm/trunk/test/Analysis/Andersens/modreftest.ll
llvm/trunk/test/Analysis/Andersens/modreftest2.ll
llvm/trunk/test/Analysis/BasicAA/gcsetest.ll
llvm/trunk/test/Transforms/IndVarSimplify/loop_evaluate10.ll
llvm/trunk/test/Transforms/IndVarSimplify/preserve-gep-remainder.ll
llvm/trunk/test/Transforms/InstCombine/udiv_select_to_select_shift.ll
llvm/trunk/test/Transforms/LoopSimplify/merge-exits.ll
llvm/trunk/test/Transforms/LoopStrengthReduce/2009-04-28-no-reduce-mul.ll
llvm/trunk/test/Transforms/LoopStrengthReduce/dont_reverse.ll
llvm/trunk/test/Transforms/SimplifyCFG/branch-cond-merge.ll
Modified: llvm/trunk/test/Analysis/Andersens/modreftest.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Analysis/Andersens/modreftest.ll?rev=81261&r1=81260&r2=81261&view=diff
==============================================================================
--- llvm/trunk/test/Analysis/Andersens/modreftest.ll (original)
+++ llvm/trunk/test/Analysis/Andersens/modreftest.ll Tue Sep 8 17:41:33 2009
@@ -1,4 +1,4 @@
-; RUN: opt %s -anders-aa -gvn -instcombine | llvm-dis \
+; RUN: opt %s -anders-aa -gvn -instcombine -S \
; RUN: | grep {ret i1 true}
@G = internal global i32* null
Modified: llvm/trunk/test/Analysis/Andersens/modreftest2.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Analysis/Andersens/modreftest2.ll?rev=81261&r1=81260&r2=81261&view=diff
==============================================================================
--- llvm/trunk/test/Analysis/Andersens/modreftest2.ll (original)
+++ llvm/trunk/test/Analysis/Andersens/modreftest2.ll Tue Sep 8 17:41:33 2009
@@ -1,4 +1,4 @@
-; RUN: opt %s -anders-aa -gvn | llvm-dis \
+; RUN: opt %s -anders-aa -gvn -S \
; RUN: | not grep {ret i32 undef}
;; From PR 2160
Modified: llvm/trunk/test/Analysis/BasicAA/gcsetest.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Analysis/BasicAA/gcsetest.ll?rev=81261&r1=81260&r2=81261&view=diff
==============================================================================
--- llvm/trunk/test/Analysis/BasicAA/gcsetest.ll (original)
+++ llvm/trunk/test/Analysis/BasicAA/gcsetest.ll Tue Sep 8 17:41:33 2009
@@ -2,8 +2,8 @@
; disambiguating some obvious cases. All loads should be removable in
; this testcase.
-; RUN: opt %s -basicaa -gvn -instcombine -dce \
-; RUN: | llvm-dis | not grep load
+; RUN: opt %s -basicaa -gvn -instcombine -dce -S \
+; RUN: | not grep load
@A = global i32 7
@B = global i32 8
Modified: llvm/trunk/test/Transforms/IndVarSimplify/loop_evaluate10.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/IndVarSimplify/loop_evaluate10.ll?rev=81261&r1=81260&r2=81261&view=diff
==============================================================================
--- llvm/trunk/test/Transforms/IndVarSimplify/loop_evaluate10.ll (original)
+++ llvm/trunk/test/Transforms/IndVarSimplify/loop_evaluate10.ll Tue Sep 8 17:41:33 2009
@@ -1,4 +1,4 @@
-; RUN: opt %s -indvars | llvm-dis \
+; RUN: opt %s -indvars -S \
; RUN: | grep {%b.1 = phi i32 \\\[ 2, %bb \\\], \\\[ 1, %bb2 \\\]}
; This loop has multiple exits, and the value of %b1 depends on which
Modified: llvm/trunk/test/Transforms/IndVarSimplify/preserve-gep-remainder.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/IndVarSimplify/preserve-gep-remainder.ll?rev=81261&r1=81260&r2=81261&view=diff
==============================================================================
--- llvm/trunk/test/Transforms/IndVarSimplify/preserve-gep-remainder.ll (original)
+++ llvm/trunk/test/Transforms/IndVarSimplify/preserve-gep-remainder.ll Tue Sep 8 17:41:33 2009
@@ -1,4 +1,4 @@
-; RUN: opt %s -indvars | llvm-dis \
+; RUN: opt %s -indvars -S \
; RUN: | grep {\[%\]p.2.ip.1 = getelementptr \\\[3 x \\\[3 x double\\\]\\\]\\* \[%\]p, i64 2, i64 \[%\]tmp, i64 1}
; Indvars shouldn't expand this to
Modified: llvm/trunk/test/Transforms/InstCombine/udiv_select_to_select_shift.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/InstCombine/udiv_select_to_select_shift.ll?rev=81261&r1=81260&r2=81261&view=diff
==============================================================================
--- llvm/trunk/test/Transforms/InstCombine/udiv_select_to_select_shift.ll (original)
+++ llvm/trunk/test/Transforms/InstCombine/udiv_select_to_select_shift.ll Tue Sep 8 17:41:33 2009
@@ -1,7 +1,7 @@
; Test that this transform works:
; udiv X, (Select Cond, C1, C2) --> Select Cond, (shr X, C1), (shr X, C2)
;
-; RUN: opt %s -instcombine | llvm-dis -o %t
+; RUN: opt < %s -instcombine -S -o %t
; RUN: not grep select %t
; RUN: grep lshr %t | count 2
; RUN: not grep udiv %t
Modified: llvm/trunk/test/Transforms/LoopSimplify/merge-exits.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/LoopSimplify/merge-exits.ll?rev=81261&r1=81260&r2=81261&view=diff
==============================================================================
--- llvm/trunk/test/Transforms/LoopSimplify/merge-exits.ll (original)
+++ llvm/trunk/test/Transforms/LoopSimplify/merge-exits.ll Tue Sep 8 17:41:33 2009
@@ -1,5 +1,4 @@
-; RUN: opt %s -loopsimplify -loop-rotate -instcombine -indvars \
-; RUN: | llvm-dis > %t
+; RUN: opt %s -loopsimplify -loop-rotate -instcombine -indvars -S > %t
; RUN: not grep sext %t
; RUN: grep {phi i64} %t | count 1
Modified: llvm/trunk/test/Transforms/LoopStrengthReduce/2009-04-28-no-reduce-mul.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/LoopStrengthReduce/2009-04-28-no-reduce-mul.ll?rev=81261&r1=81260&r2=81261&view=diff
==============================================================================
--- llvm/trunk/test/Transforms/LoopStrengthReduce/2009-04-28-no-reduce-mul.ll (original)
+++ llvm/trunk/test/Transforms/LoopStrengthReduce/2009-04-28-no-reduce-mul.ll Tue Sep 8 17:41:33 2009
@@ -1,4 +1,4 @@
-; RUN: opt %s -loop-reduce | llvm-dis \
+; RUN: opt %s -loop-reduce -S \
; RUN: | grep {getelementptr.*%lsr.iv.*%lsr.iv.*<i32\\*>}
; The multiply in bb2 must not be reduced to an add, as the sext causes the
; %1 argument to become negative after a while.
Modified: llvm/trunk/test/Transforms/LoopStrengthReduce/dont_reverse.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/LoopStrengthReduce/dont_reverse.ll?rev=81261&r1=81260&r2=81261&view=diff
==============================================================================
--- llvm/trunk/test/Transforms/LoopStrengthReduce/dont_reverse.ll (original)
+++ llvm/trunk/test/Transforms/LoopStrengthReduce/dont_reverse.ll Tue Sep 8 17:41:33 2009
@@ -1,4 +1,4 @@
-; RUN: opt %s -loop-reduce | llvm-dis \
+; RUN: opt %s -loop-reduce -S \
; RUN: | grep {icmp eq i2 %lsr.iv.next, %xmp4344}
; Don't reverse the iteration if the rhs of the compare is defined
Modified: llvm/trunk/test/Transforms/SimplifyCFG/branch-cond-merge.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/SimplifyCFG/branch-cond-merge.ll?rev=81261&r1=81260&r2=81261&view=diff
==============================================================================
--- llvm/trunk/test/Transforms/SimplifyCFG/branch-cond-merge.ll (original)
+++ llvm/trunk/test/Transforms/SimplifyCFG/branch-cond-merge.ll Tue Sep 8 17:41:33 2009
@@ -1,5 +1,5 @@
; RUN: opt %s -simplifycfg -instcombine \
-; RUN: -simplifycfg | llvm-dis | not grep call
+; RUN: -simplifycfg -S | not grep call
declare void @bar()
More information about the llvm-commits
mailing list