From: Dan Gohman Date: Tue, 8 Sep 2009 22:34:10 +0000 (+0000) Subject: Use opt -S instead of piping bitcode output through llvm-dis. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=3e054fe9efc64596534bbae0d1634ed15181d642;p=oota-llvm.git Use opt -S instead of piping bitcode output through llvm-dis. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81257 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Analysis/Andersens/2008-03-19-External.ll b/test/Analysis/Andersens/2008-03-19-External.ll index 40dbae900e1..f99d3053c67 100644 --- a/test/Analysis/Andersens/2008-03-19-External.ll +++ b/test/Analysis/Andersens/2008-03-19-External.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -anders-aa -gvn | llvm-dis | not grep undef +; RUN: opt %s -anders-aa -gvn -S | not grep undef ; PR2160 declare void @f(i32*) diff --git a/test/Analysis/Andersens/2008-04-07-Memcpy.ll b/test/Analysis/Andersens/2008-04-07-Memcpy.ll index c89f976e8d9..87d21cf2754 100644 --- a/test/Analysis/Andersens/2008-04-07-Memcpy.ll +++ b/test/Analysis/Andersens/2008-04-07-Memcpy.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -anders-aa -gvn | llvm-dis | not grep undef +; RUN: opt %s -anders-aa -gvn -S | not grep undef ; PR2169 declare void @llvm.memcpy.i32(i8*, i8*, i32, i32) nounwind diff --git a/test/Analysis/Andersens/external.ll b/test/Analysis/Andersens/external.ll index ffa3a74202f..1b507782552 100644 --- a/test/Analysis/Andersens/external.ll +++ b/test/Analysis/Andersens/external.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -anders-aa -gvn -deadargelim | llvm-dis | grep store | not grep null +; RUN: opt %s -anders-aa -gvn -deadargelim -S | grep store | not grep null ; Because the 'internal' function is passed to an external function, we don't ; know what the incoming values will alias. As such, we cannot do the diff --git a/test/Analysis/BasicAA/2003-02-26-AccessSizeTest.ll b/test/Analysis/BasicAA/2003-02-26-AccessSizeTest.ll index 171e6ef38a8..17f3c0480f2 100644 --- a/test/Analysis/BasicAA/2003-02-26-AccessSizeTest.ll +++ b/test/Analysis/BasicAA/2003-02-26-AccessSizeTest.ll @@ -2,7 +2,7 @@ ; is performed. It is not legal to delete the second load instruction because ; the value computed by the first load instruction is changed by the store. -; RUN: opt %s -gvn -instcombine | llvm-dis | grep DONOTREMOVE +; RUN: opt %s -gvn -instcombine -S | grep DONOTREMOVE define i32 @test() { %A = alloca i32 diff --git a/test/Analysis/BasicAA/2003-04-22-GEPProblem.ll b/test/Analysis/BasicAA/2003-04-22-GEPProblem.ll index 6518551c7af..6e9276f7dce 100644 --- a/test/Analysis/BasicAA/2003-04-22-GEPProblem.ll +++ b/test/Analysis/BasicAA/2003-04-22-GEPProblem.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -gvn -instcombine | llvm-dis | grep sub +; RUN: opt %s -gvn -instcombine -S | grep sub ; BasicAA was incorrectly concluding that P1 and P2 didn't conflict! diff --git a/test/Analysis/BasicAA/2003-09-19-LocalArgument.ll b/test/Analysis/BasicAA/2003-09-19-LocalArgument.ll index c3977afd8b1..231521d4b74 100644 --- a/test/Analysis/BasicAA/2003-09-19-LocalArgument.ll +++ b/test/Analysis/BasicAA/2003-09-19-LocalArgument.ll @@ -1,6 +1,6 @@ ; In this test, a local alloca cannot alias an incoming argument. -; RUN: opt %s -gvn -instcombine | llvm-dis | not grep sub +; RUN: opt %s -gvn -instcombine -S | not grep sub define i32 @test(i32* %P) { %X = alloca i32 diff --git a/test/Analysis/BasicAA/2004-07-28-MustAliasbug.ll b/test/Analysis/BasicAA/2004-07-28-MustAliasbug.ll index 05defe54b9b..ddecfb76429 100644 --- a/test/Analysis/BasicAA/2004-07-28-MustAliasbug.ll +++ b/test/Analysis/BasicAA/2004-07-28-MustAliasbug.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -dse | llvm-dis | grep {store i32 0} +; RUN: opt %s -dse -S | grep {store i32 0} define void @test({i32,i32 }* %P) { %Q = getelementptr {i32,i32}* %P, i32 1 diff --git a/test/Analysis/BasicAA/2007-01-13-BasePointerBadNoAlias.ll b/test/Analysis/BasicAA/2007-01-13-BasePointerBadNoAlias.ll index 18c0bb2c42f..0ebe4e80473 100644 --- a/test/Analysis/BasicAA/2007-01-13-BasePointerBadNoAlias.ll +++ b/test/Analysis/BasicAA/2007-01-13-BasePointerBadNoAlias.ll @@ -1,7 +1,7 @@ ; PR1109 -; RUN: opt %s -basicaa -gvn -instcombine | llvm-dis | \ +; RUN: opt %s -basicaa -gvn -instcombine -S | \ ; RUN: grep {sub i32} -; RUN: opt %s -basicaa -gvn -instcombine | llvm-dis | \ +; RUN: opt %s -basicaa -gvn -instcombine -S | \ ; RUN: not grep {ret i32 0} ; END. diff --git a/test/Analysis/BasicAA/2007-08-05-GetOverloadedModRef.ll b/test/Analysis/BasicAA/2007-08-05-GetOverloadedModRef.ll index 73f4dc8e760..6a92fd8cc33 100644 --- a/test/Analysis/BasicAA/2007-08-05-GetOverloadedModRef.ll +++ b/test/Analysis/BasicAA/2007-08-05-GetOverloadedModRef.ll @@ -1,5 +1,5 @@ ; PR1600 -; RUN: opt %s -basicaa -gvn -instcombine | llvm-dis | \ +; RUN: opt %s -basicaa -gvn -instcombine -S | \ ; RUN: grep {ret i32 0} ; END. diff --git a/test/Analysis/BasicAA/2007-10-24-ArgumentsGlobals.ll b/test/Analysis/BasicAA/2007-10-24-ArgumentsGlobals.ll index cfa152b8e9d..34b0f6f3342 100644 --- a/test/Analysis/BasicAA/2007-10-24-ArgumentsGlobals.ll +++ b/test/Analysis/BasicAA/2007-10-24-ArgumentsGlobals.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -basicaa -gvn -dce | llvm-dis | grep tmp7 +; RUN: opt %s -basicaa -gvn -dce -S | grep tmp7 %struct.A = type { i32 } %struct.B = type { %struct.A } diff --git a/test/Analysis/BasicAA/2008-04-15-Byval.ll b/test/Analysis/BasicAA/2008-04-15-Byval.ll index 31ae1e8113c..26e14dfcbff 100644 --- a/test/Analysis/BasicAA/2008-04-15-Byval.ll +++ b/test/Analysis/BasicAA/2008-04-15-Byval.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -std-compile-opts | llvm-dis | grep store +; RUN: opt %s -std-compile-opts -S | grep store ; ModuleID = 'small2.c' 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-darwin8" diff --git a/test/Analysis/BasicAA/2009-03-04-GEPNoalias.ll b/test/Analysis/BasicAA/2009-03-04-GEPNoalias.ll index 617e01d97e9..8864571b418 100644 --- a/test/Analysis/BasicAA/2009-03-04-GEPNoalias.ll +++ b/test/Analysis/BasicAA/2009-03-04-GEPNoalias.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -basicaa -gvn | llvm-dis | grep load +; RUN: opt %s -basicaa -gvn -S | grep load declare noalias i32* @noalias() diff --git a/test/Analysis/BasicAA/byval.ll b/test/Analysis/BasicAA/byval.ll index 7eebb9a5ad4..f5ffcccd785 100644 --- a/test/Analysis/BasicAA/byval.ll +++ b/test/Analysis/BasicAA/byval.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -gvn | llvm-dis | grep {ret i32 1} +; RUN: opt %s -gvn -S | grep {ret i32 1} 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 = "i686-apple-darwin8" %struct.x = type { i32, i32, i32, i32 } diff --git a/test/Analysis/BasicAA/cas.ll b/test/Analysis/BasicAA/cas.ll index fb297e86085..866bdb23715 100644 --- a/test/Analysis/BasicAA/cas.ll +++ b/test/Analysis/BasicAA/cas.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -basicaa -gvn | llvm-dis | grep load | count 1 +; RUN: opt %s -basicaa -gvn -S | grep load | count 1 @flag0 = internal global i32 zeroinitializer @turn = internal global i32 zeroinitializer diff --git a/test/Analysis/BasicAA/featuretest.ll b/test/Analysis/BasicAA/featuretest.ll index 01e4708d77f..767b36a405e 100644 --- a/test/Analysis/BasicAA/featuretest.ll +++ b/test/Analysis/BasicAA/featuretest.ll @@ -1,7 +1,7 @@ ; This testcase tests for various features the basicaa test should be able to ; determine, as noted in the comments. -; RUN: opt %s -basicaa -gvn -instcombine -dce | llvm-dis | not grep REMOVE +; RUN: opt %s -basicaa -gvn -instcombine -dce -S | not grep REMOVE @Global = external global { i32 } diff --git a/test/Analysis/BasicAA/global-size.ll b/test/Analysis/BasicAA/global-size.ll index e95bc591025..a3f38a08954 100644 --- a/test/Analysis/BasicAA/global-size.ll +++ b/test/Analysis/BasicAA/global-size.ll @@ -1,7 +1,7 @@ ; A store or load cannot alias a global if the accessed amount is larger then ; the global. -; RUN: opt %s -basicaa -gvn -instcombine | llvm-dis | not grep load +; RUN: opt %s -basicaa -gvn -instcombine -S | not grep load @B = global i16 8 ; [#uses=2] diff --git a/test/Analysis/BasicAA/no-escape-call.ll b/test/Analysis/BasicAA/no-escape-call.ll index cfe4e9f219b..a0b6a449b26 100644 --- a/test/Analysis/BasicAA/no-escape-call.ll +++ b/test/Analysis/BasicAA/no-escape-call.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -basicaa -gvn -instcombine | llvm-dis | grep {ret i1 true} +; RUN: opt %s -basicaa -gvn -instcombine -S | grep {ret i1 true} ; PR2436 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-darwin8" diff --git a/test/Analysis/BasicAA/nocapture.ll b/test/Analysis/BasicAA/nocapture.ll index 5269449c2bd..39a70ab5da7 100644 --- a/test/Analysis/BasicAA/nocapture.ll +++ b/test/Analysis/BasicAA/nocapture.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -basicaa -gvn -instcombine | llvm-dis | grep {ret i32 0} +; RUN: opt %s -basicaa -gvn -instcombine -S | grep {ret i32 0} declare i32* @test(i32* nocapture) diff --git a/test/Analysis/BasicAA/pure-const-dce.ll b/test/Analysis/BasicAA/pure-const-dce.ll index ab34e16e525..cffb87255bb 100644 --- a/test/Analysis/BasicAA/pure-const-dce.ll +++ b/test/Analysis/BasicAA/pure-const-dce.ll @@ -1,6 +1,6 @@ -; RUN: opt %s -basicaa -gvn | llvm-dis | grep TestConst | count 2 -; RUN: opt %s -basicaa -gvn | llvm-dis | grep TestPure | count 3 -; RUN: opt %s -basicaa -gvn | llvm-dis | grep TestNone | count 4 +; RUN: opt %s -basicaa -gvn -S | grep TestConst | count 2 +; RUN: opt %s -basicaa -gvn -S | grep TestPure | count 3 +; RUN: opt %s -basicaa -gvn -S | grep TestNone | count 4 @g = global i32 0 ; [#uses=1] define i32 @test() { diff --git a/test/Analysis/BasicAA/store-promote.ll b/test/Analysis/BasicAA/store-promote.ll index 196a608c33d..09c43228586 100644 --- a/test/Analysis/BasicAA/store-promote.ll +++ b/test/Analysis/BasicAA/store-promote.ll @@ -2,7 +2,7 @@ ; disambiguating some obvious cases. If LICM is able to disambiguate the ; two pointers, then the load should be hoisted, and the store sunk. -; RUN: opt %s -basicaa -licm | llvm-dis | FileCheck %s +; RUN: opt %s -basicaa -licm -S | FileCheck %s @A = global i32 7 ; [#uses=3] @B = global i32 8 ; [#uses=2] diff --git a/test/Analysis/GlobalsModRef/2008-09-03-ReadGlobals.ll b/test/Analysis/GlobalsModRef/2008-09-03-ReadGlobals.ll index e10d9bd5f0e..61297b61596 100644 --- a/test/Analysis/GlobalsModRef/2008-09-03-ReadGlobals.ll +++ b/test/Analysis/GlobalsModRef/2008-09-03-ReadGlobals.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -globalsmodref-aa -gvn | llvm-dis | grep call | count 2 +; RUN: opt %s -globalsmodref-aa -gvn -S | grep call | count 2 @g = internal global i32 0 ; [#uses=2] diff --git a/test/Analysis/GlobalsModRef/aliastest.ll b/test/Analysis/GlobalsModRef/aliastest.ll index 957793d2072..0de1d8a4355 100644 --- a/test/Analysis/GlobalsModRef/aliastest.ll +++ b/test/Analysis/GlobalsModRef/aliastest.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -globalsmodref-aa -gvn | llvm-dis | not grep load +; RUN: opt %s -globalsmodref-aa -gvn -S | not grep load @X = internal global i32 4 ; [#uses=1] define i32 @test(i32* %P) { diff --git a/test/Analysis/GlobalsModRef/chaining-analysis.ll b/test/Analysis/GlobalsModRef/chaining-analysis.ll index 01d86112a8a..479c6b434bc 100644 --- a/test/Analysis/GlobalsModRef/chaining-analysis.ll +++ b/test/Analysis/GlobalsModRef/chaining-analysis.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -globalsmodref-aa -gvn | llvm-dis | not grep load +; RUN: opt %s -globalsmodref-aa -gvn -S | not grep load ; This test requires the use of previous analyses to determine that ; doesnotmodX does not modify X (because 'sin' doesn't). diff --git a/test/Analysis/GlobalsModRef/indirect-global.ll b/test/Analysis/GlobalsModRef/indirect-global.ll index dbbebc36939..a0a4ddec92f 100644 --- a/test/Analysis/GlobalsModRef/indirect-global.ll +++ b/test/Analysis/GlobalsModRef/indirect-global.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -globalsmodref-aa -gvn -instcombine | llvm-dis | \ +; RUN: opt %s -globalsmodref-aa -gvn -instcombine -S | \ ; RUN: grep {ret i32 0} @G = internal global i32* null ; [#uses=3] diff --git a/test/Analysis/GlobalsModRef/modreftest.ll b/test/Analysis/GlobalsModRef/modreftest.ll index f84725a3859..7bcb08df37c 100644 --- a/test/Analysis/GlobalsModRef/modreftest.ll +++ b/test/Analysis/GlobalsModRef/modreftest.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -globalsmodref-aa -gvn | llvm-dis | not grep load +; RUN: opt %s -globalsmodref-aa -gvn -S | not grep load @X = internal global i32 4 ; [#uses=2] define i32 @test(i32* %P) { diff --git a/test/Analysis/Profiling/edge-profiling.ll b/test/Analysis/Profiling/edge-profiling.ll index 3eb805b65ed..ffdfc2ee643 100644 --- a/test/Analysis/Profiling/edge-profiling.ll +++ b/test/Analysis/Profiling/edge-profiling.ll @@ -1,5 +1,5 @@ ; Test the edge profiling instrumentation. -; RUN: opt %s -insert-edge-profiling | llvm-dis | FileCheck %s +; RUN: opt %s -insert-edge-profiling -S | FileCheck %s ; ModuleID = '' diff --git a/test/Analysis/ScalarEvolution/2007-08-06-MisinterpretBranch.ll b/test/Analysis/ScalarEvolution/2007-08-06-MisinterpretBranch.ll index caea9e44065..d8ba3f5fb0b 100644 --- a/test/Analysis/ScalarEvolution/2007-08-06-MisinterpretBranch.ll +++ b/test/Analysis/ScalarEvolution/2007-08-06-MisinterpretBranch.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -indvars -adce -simplifycfg | llvm-dis | grep "icmp s" +; RUN: opt %s -indvars -adce -simplifycfg -S | grep "icmp s" ; PR1598 define i32 @f(i32 %a, i32 %b, i32 %x, i32 %y) { diff --git a/test/Analysis/ScalarEvolution/2007-11-14-SignedAddRec.ll b/test/Analysis/ScalarEvolution/2007-11-14-SignedAddRec.ll index ff46b87bebd..1d01bb4cd42 100644 --- a/test/Analysis/ScalarEvolution/2007-11-14-SignedAddRec.ll +++ b/test/Analysis/ScalarEvolution/2007-11-14-SignedAddRec.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -indvars | llvm-dis | grep printd | grep 1206807378 +; RUN: opt %s -indvars -S | grep printd | grep 1206807378 ; PR1798 declare void @printd(i32) diff --git a/test/Analysis/ScalarEvolution/avoid-smax-1.ll b/test/Analysis/ScalarEvolution/avoid-smax-1.ll index 5d30d61f129..5c77005848a 100644 --- a/test/Analysis/ScalarEvolution/avoid-smax-1.ll +++ b/test/Analysis/ScalarEvolution/avoid-smax-1.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -indvars | llvm-dis > %t +; RUN: opt %s -indvars -S > %t ; RUN: grep select %t | count 2 ; RUN: grep {icmp ne i32.\* %w } %t diff --git a/test/Assembler/2002-04-07-HexFloatConstants.ll b/test/Assembler/2002-04-07-HexFloatConstants.ll index 914ab8bc4a5..b0d7cc0e43a 100644 --- a/test/Assembler/2002-04-07-HexFloatConstants.ll +++ b/test/Assembler/2002-04-07-HexFloatConstants.ll @@ -5,7 +5,7 @@ ; of the bug that was causing the Olden Health benchmark to output incorrect ; results! ; -; RUN: opt %s -constprop | llvm-dis > %t.1 +; RUN: opt -constprop -S > %t.1 < %s ; RUN: llvm-as < %s | llvm-dis | llvm-as | opt -constprop | \ ; RUN: llvm-dis > %t.2 ; RUN: diff %t.1 %t.2 diff --git a/test/Assembler/2002-04-29-NameBinding.ll b/test/Assembler/2002-04-29-NameBinding.ll index 2e10b2eaea4..1ba9270fcf6 100644 --- a/test/Assembler/2002-04-29-NameBinding.ll +++ b/test/Assembler/2002-04-29-NameBinding.ll @@ -4,7 +4,7 @@ ; Check by running globaldce, which will remove the constant if there are ; no references to it! ; -; RUN: opt %s -globaldce | llvm-dis | \ +; RUN: opt %s -globaldce -S | \ ; RUN: not grep constant ; diff --git a/test/Assembler/2002-08-19-BytecodeReader.ll b/test/Assembler/2002-08-19-BytecodeReader.ll index 2986668694a..85d892dccbe 100644 --- a/test/Assembler/2002-08-19-BytecodeReader.ll +++ b/test/Assembler/2002-08-19-BytecodeReader.ll @@ -1,7 +1,7 @@ ; Testcase that seems to break the bytecode reader. This comes from the ; "crafty" spec benchmark. ; -; RUN: opt %s -instcombine | llvm-dis | llvm-as +; RUN: opt %s -instcombine -S | llvm-as %CHESS_POSITION = type { i32, i32 } @pawn_probes = external global i32 ; [#uses=0] diff --git a/test/Assembler/2003-08-20-ConstantExprGEP-Fold.ll b/test/Assembler/2003-08-20-ConstantExprGEP-Fold.ll index 2efdf5c35d4..5360de47f2b 100644 --- a/test/Assembler/2003-08-20-ConstantExprGEP-Fold.ll +++ b/test/Assembler/2003-08-20-ConstantExprGEP-Fold.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -instcombine -simplifycfg | llvm-dis | not grep br +; RUN: opt %s -instcombine -simplifycfg -S | not grep br @.str_1 = internal constant [6 x i8] c"_Bool\00" ; <[6 x i8]*> [#uses=2] diff --git a/test/Assembler/2008-02-20-MultipleReturnValue.ll b/test/Assembler/2008-02-20-MultipleReturnValue.ll index 44a40469e03..3f0ff8a0621 100644 --- a/test/Assembler/2008-02-20-MultipleReturnValue.ll +++ b/test/Assembler/2008-02-20-MultipleReturnValue.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -verify | llvm-dis | llvm-as -disable-output +; RUN: opt %s -verify -S | llvm-as -disable-output define {i32, i8} @foo(i32 %p) { ret i32 1, i8 2 diff --git a/test/Assembler/2009-02-28-StripOpaqueName.ll b/test/Assembler/2009-02-28-StripOpaqueName.ll index d8c71c99d49..94529b9e24d 100644 --- a/test/Assembler/2009-02-28-StripOpaqueName.ll +++ b/test/Assembler/2009-02-28-StripOpaqueName.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -strip | llvm-dis | llvm-as | llvm-dis +; RUN: opt %s -strip -S | llvm-as | llvm-dis ; Stripping the name from A should not break references to it. %A = type opaque diff --git a/test/CodeGen/Generic/GC/inline.ll b/test/CodeGen/Generic/GC/inline.ll index 54d91edd7d3..5dd171abd2e 100644 --- a/test/CodeGen/Generic/GC/inline.ll +++ b/test/CodeGen/Generic/GC/inline.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -inline | llvm-dis | grep example +; RUN: opt %s -inline -S | grep example %IntArray = type { i32, [0 x i32*] } diff --git a/test/CodeGen/Generic/GC/inline2.ll b/test/CodeGen/Generic/GC/inline2.ll index a6bcc1bf812..ad98e3e3453 100644 --- a/test/CodeGen/Generic/GC/inline2.ll +++ b/test/CodeGen/Generic/GC/inline2.ll @@ -1,5 +1,5 @@ -; RUN: opt %s -inline | llvm-dis | grep sample -; RUN: opt %s -inline | llvm-dis | grep example +; RUN: opt %s -inline -S | grep sample +; RUN: opt %s -inline -S | grep example %IntArray = type { i32, [0 x i32*] } diff --git a/test/CodeGen/X86/2009-03-23-i80-fp80.ll b/test/CodeGen/X86/2009-03-23-i80-fp80.ll index 3b908656874..7eadda86e60 100644 --- a/test/CodeGen/X86/2009-03-23-i80-fp80.ll +++ b/test/CodeGen/X86/2009-03-23-i80-fp80.ll @@ -1,5 +1,5 @@ -; RUN: opt %s -instcombine | llvm-dis | grep 302245289961712575840256 -; RUN: opt %s -instcombine | llvm-dis | grep K40018000000000000000 +; RUN: opt %s -instcombine -S | grep 302245289961712575840256 +; RUN: opt %s -instcombine -S | grep K40018000000000000000 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 = "i686-apple-darwin9" diff --git a/test/DebugInfo/2009-02-27-licm.ll b/test/DebugInfo/2009-02-27-licm.ll index cf4872d2902..b99d7b57164 100644 --- a/test/DebugInfo/2009-02-27-licm.ll +++ b/test/DebugInfo/2009-02-27-licm.ll @@ -1,4 +1,4 @@ -;RUN: llvm-as <%s | opt -licm | llvm-dis | grep {load } | count 4 +;RUN: llvm-as <%s | opt -licm -S | grep {load } | count 4 ; ModuleID = '2009-02-27-licm.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 = "i386-pc-linux-gnu" diff --git a/test/DebugInfo/2009-03-03-cheapdse.ll b/test/DebugInfo/2009-03-03-cheapdse.ll index 20f8e0cdb68..4f955e9c346 100644 --- a/test/DebugInfo/2009-03-03-cheapdse.ll +++ b/test/DebugInfo/2009-03-03-cheapdse.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -instcombine | llvm-dis | grep store | count 5 +; RUN: opt %s -instcombine -S | grep store | count 5 ; ModuleID = '' 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/DebugInfo/2009-03-03-deadstore.ll b/test/DebugInfo/2009-03-03-deadstore.ll index de9e1ef1319..8d496145386 100644 --- a/test/DebugInfo/2009-03-03-deadstore.ll +++ b/test/DebugInfo/2009-03-03-deadstore.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -instcombine | llvm-dis | not grep alloca +; RUN: opt %s -instcombine -S | not grep alloca ; ModuleID = '' 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/DebugInfo/2009-03-03-store-to-load-forward.ll b/test/DebugInfo/2009-03-03-store-to-load-forward.ll index 6ed1e504ba2..8fad616d0f6 100644 --- a/test/DebugInfo/2009-03-03-store-to-load-forward.ll +++ b/test/DebugInfo/2009-03-03-store-to-load-forward.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -instcombine | llvm-dis | not grep alloca +; RUN: opt %s -instcombine -S | not grep alloca ; ModuleID = '' 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/DebugInfo/2009-03-05-gvn.ll b/test/DebugInfo/2009-03-05-gvn.ll index 394982ce919..06c9f858261 100644 --- a/test/DebugInfo/2009-03-05-gvn.ll +++ b/test/DebugInfo/2009-03-05-gvn.ll @@ -1,4 +1,4 @@ -;RUN: llvm-as <%s | opt -gvn | llvm-dis | grep {load } | count 1 +;RUN: llvm-as <%s | opt -gvn -S | grep {load } | count 1 ; ModuleID = 'db2-before.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 = "i386-pc-linux-gnu" diff --git a/test/Feature/weak_constant.ll b/test/Feature/weak_constant.ll index 06cfe115cd5..fde155175ad 100644 --- a/test/Feature/weak_constant.ll +++ b/test/Feature/weak_constant.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -std-compile-opts | llvm-dis > %t +; RUN: opt %s -std-compile-opts -S > %t ; RUN: grep undef %t | count 1 ; RUN: grep 5 %t | count 1 ; RUN: grep 7 %t | count 1 diff --git a/test/Other/2008-06-04-FieldSizeInPacked.ll b/test/Other/2008-06-04-FieldSizeInPacked.ll index 3a4bd07a719..50aec822e72 100644 --- a/test/Other/2008-06-04-FieldSizeInPacked.ll +++ b/test/Other/2008-06-04-FieldSizeInPacked.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -instcombine | llvm-dis | grep true +; RUN: opt %s -instcombine -S | grep true 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-unknown-linux-gnu" diff --git a/test/Other/2009-06-05-no-implicit-float.ll b/test/Other/2009-06-05-no-implicit-float.ll index 515f9094363..51e1466f508 100644 --- a/test/Other/2009-06-05-no-implicit-float.ll +++ b/test/Other/2009-06-05-no-implicit-float.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -verify | llvm-dis | grep noimplicitfloat +; RUN: opt %s -verify -S | grep noimplicitfloat define void @f() noimplicitfloat { } diff --git a/test/Transforms/ADCE/2002-05-22-PHITest.ll b/test/Transforms/ADCE/2002-05-22-PHITest.ll index 5a7b0bb8a51..d150ce0eb69 100644 --- a/test/Transforms/ADCE/2002-05-22-PHITest.ll +++ b/test/Transforms/ADCE/2002-05-22-PHITest.ll @@ -1,6 +1,6 @@ ; It is illegal to remove BB1 because it will mess up the PHI node! ; -; RUN: opt %s -adce | llvm-dis | grep BB1 +; RUN: opt %s -adce -S | grep BB1 define i32 @test(i1 %C, i32 %A, i32 %B) { ;