Add -disable-output to a bunch of tests that don't care about the output.
authorDan Gohman <gohman@apple.com>
Wed, 17 Jun 2009 20:56:26 +0000 (20:56 +0000)
committerDan Gohman <gohman@apple.com>
Wed, 17 Jun 2009 20:56:26 +0000 (20:56 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73633 91177308-0d34-0410-b5e6-96231b3b80d8

31 files changed:
test/Analysis/ScalarEvolution/2007-07-15-NegativeStride.ll
test/Analysis/ScalarEvolution/2007-08-06-Unsigned.ll
test/Analysis/ScalarEvolution/2007-09-27-LargeStepping.ll
test/Analysis/ScalarEvolution/2007-11-18-OrInstruction.ll
test/Analysis/ScalarEvolution/2008-02-11-ReversedCondition.ll
test/Analysis/ScalarEvolution/2008-02-12-SMAXTripCount.ll
test/Analysis/ScalarEvolution/2008-02-15-UMax.ll
test/Analysis/ScalarEvolution/2008-05-25-NegativeStepToZero.ll
test/Analysis/ScalarEvolution/2008-07-12-UnneededSelect1.ll
test/Analysis/ScalarEvolution/2008-07-12-UnneededSelect2.ll
test/Analysis/ScalarEvolution/2008-07-19-InfiniteLoop.ll
test/Analysis/ScalarEvolution/2008-07-19-WrappingIV.ll
test/Analysis/ScalarEvolution/2008-11-02-QuadraticCrash.ll
test/Analysis/ScalarEvolution/2008-11-15-CubicOOM.ll
test/Analysis/ScalarEvolution/2008-11-18-LessThanOrEqual.ll
test/Analysis/ScalarEvolution/2008-11-18-Stride1.ll
test/Analysis/ScalarEvolution/2008-11-18-Stride2.ll
test/Analysis/ScalarEvolution/2008-12-08-FiniteSGE.ll
test/Analysis/ScalarEvolution/2008-12-11-SMaxOverflow.ll
test/Analysis/ScalarEvolution/2008-12-14-StrideAndSigned.ll
test/Analysis/ScalarEvolution/2008-12-15-DontUseSDiv.ll
test/Analysis/ScalarEvolution/2009-01-02-SignedNegativeStride.ll
test/Analysis/ScalarEvolution/2009-04-22-TruncCast.ll
test/Analysis/ScalarEvolution/2009-05-09-PointerEdgeCount.ll
test/Analysis/ScalarEvolution/SolveQuadraticEquation.ll
test/Analysis/ScalarEvolution/avoid-smax-0.ll
test/Analysis/ScalarEvolution/do-loop.ll
test/Analysis/ScalarEvolution/smax.ll
test/Analysis/ScalarEvolution/trip-count.ll
test/Analysis/ScalarEvolution/trip-count2.ll
test/Transforms/IndVarSimplify/shrunk-constant.ll

index a2cbcee244bfd3c1705faf1cc3e37afdb85acc4d..bf27e7753538ca30d3c668957de97463a505ec66 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -analyze -scalar-evolution \
+; RUN: llvm-as < %s | opt -analyze -scalar-evolution -disable-output \
 ; RUN:   -scalar-evolution-max-iterations=0 | grep {Loop bb: backedge-taken count is 100}
 ; PR1533
 
index 34d97664ccb65dc489eb84910d1dec5e55e3f945..95f932a9a581c7c3ab48dfbf9bb444706188fd58 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -scalar-evolution -analyze | grep {Loop bb: backedge-taken count is (-1 + (-1 \\* %x) + %y)}
+; RUN: llvm-as < %s | opt -scalar-evolution -analyze -disable-output | grep {Loop bb: backedge-taken count is (-1 + (-1 \\* %x) + %y)}
 ; PR1597
 
 define i32 @f(i32 %x, i32 %y) {
index c4de093755987e1ce694ddc5ebc401b93fb68d73..e5e47d549f53b70129e2eac495445d10a4bbd9aa 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -analyze -scalar-evolution \
+; RUN: llvm-as < %s | opt -analyze -scalar-evolution -disable-output \
 ; RUN:   -scalar-evolution-max-iterations=0 | grep {backedge-taken count is 13}
 ; PR1706
 
index 82d6ee27b457403437a8826a82ae8410584db25c..01f338a29c2731daeb5779b3edebc73067b9a8b1 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -analyze -scalar-evolution | grep -e {-->  %b}
+; RUN: llvm-as < %s | opt -analyze -scalar-evolution -disable-output | grep -e {-->  %b}
 ; PR1810
 
 define void @fun() {
index 182a0876e6581d5a230a7374160b9369460a7432..b9a53b318bf5bdca4eda8c83b8fded62e612fc31 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -scalar-evolution -analyze | grep {Loop header: backedge-taken count is (0 smax %n)}
+; RUN: llvm-as < %s | opt -scalar-evolution -analyze -disable-output | grep {Loop header: backedge-taken count is (0 smax %n)}
 
 define void @foo(i32 %n) {
 entry:
index cd3a80f791948f972b966cc25231ae262669d8e3..b943bc7d4c61c73a1ad02b496e643543e1791859 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -scalar-evolution -analyze | grep {Loop loop: backedge-taken count is (100 + (-100 smax %n))}
+; RUN: llvm-as < %s | opt -scalar-evolution -analyze -disable-output | grep {Loop loop: backedge-taken count is (100 + (-100 smax %n))}
 ; PR2002
 
 define void @foo(i8 %n) {
index 0f977f804eb8840bc6c26ede1b0bb634225161eb..59b51093f40a90760066b5ae3aebeb15015be086 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -analyze -scalar-evolution | grep umax
+; RUN: llvm-as < %s | opt -analyze -scalar-evolution -disable-output | grep umax
 ; PR2003
 
 define i32 @foo(i32 %n) {
index 13852d45652a485704922e53b00fd2e15b23b978..5453ae3ae80ba16b9d2673d56a63543c17b45a82 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -analyze -scalar-evolution \
+; RUN: llvm-as < %s | opt -analyze -scalar-evolution -disable-output \
 ; RUN:   -scalar-evolution-max-iterations=0 | grep {backedge-taken count is 61}
 ; PR2364
 
index a0fcad713149f210a41bd6467c673f2a73f30dec..6ba0f25eb06127c1162ba94ce716efe192c57066 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -analyze -scalar-evolution |& not grep smax
+; RUN: llvm-as < %s | opt -analyze -scalar-evolution -disable-output |& not grep smax
 ; PR2261
 
 @lut = common global [256 x i8] zeroinitializer, align 32              ; <[256 x i8]*> [#uses=1]
index 5501ee28869e48c89c07227cab29a5a78b498789..3c022e7181bdd8c27400c1030f7373db1420f365 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -analyze -scalar-evolution |& not grep smax
+; RUN: llvm-as < %s | opt -analyze -scalar-evolution -disable-output |& not grep smax
 ; PR2070
 
 define i32 @a(i32 %x) nounwind  {
index a3cc600053f46d3a13cf0737cd53f162bbd393c6..5dcad53f6a60aa7c2817314f280069daf58243ee 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -analyze -scalar-evolution \
+; RUN: llvm-as < %s | opt -analyze -scalar-evolution -disable-output \
 ; RUN:   -scalar-evolution-max-iterations=0 | grep Unpredictable
 ; PR2088
 
index 9ba118c15063bec8506b5643e88a84cdc2c3ab74..54c929dcdaf635ac138c079a711ed605d639bed6 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -analyze -scalar-evolution \
+; RUN: llvm-as < %s | opt -analyze -scalar-evolution -disable-output \
 ; RUN:   -scalar-evolution-max-iterations=0 | grep {backedge-taken count is 113}
 ; PR2088
 
index c6cb87fca140c78b8c110da3707bc4b79dd68d35..1e9d0bfc9c23165832d43d029251a96be4d33c4e 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -analyze -scalar-evolution
+; RUN: llvm-as < %s | opt -analyze -scalar-evolution -disable-output
 ; PR1827
 
 declare void @use(i32)
index 89e9efa37ca678f3a55a7d01fb49d10819b85ea1..c0b3a1fe01b2a944d31401fba5f221316cdd1f17 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -analyze -scalar-evolution
+; RUN: llvm-as < %s | opt -analyze -scalar-evolution -disable-output
 ; PR2602
 
 define i32 @a() nounwind  {
index 0651fd85487fe0322b283eea302b4c04a9a28c98..56d1fe7b541dde1a8ae2a001e9b638453e224938 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -analyze -scalar-evolution |& \
+; RUN: llvm-as < %s | opt -analyze -scalar-evolution -disable-output |& \
 ; RUN: grep {Loop bb: backedge-taken count is (7 + (-1 \\* %argc))}
 ; XFAIL: *
 
index 78cda0e175f4baec5bc489eb512b395737852832..fc6bbb1e3d3cad1313d521be03332072e99dbce5 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -analyze -scalar-evolution |& grep {/u 3}
+; RUN: llvm-as < %s | opt -analyze -scalar-evolution -disable-output |& grep {/u 3}
 
 define i32 @f(i32 %x) nounwind readnone {
 entry:
index 4a76970ce19adf8632082e9ccfb7ea0ddb5595d4..d506f9c3f82f5fc20b8e5ef037a0abd908b8245a 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -analyze -scalar-evolution |& grep {/u 3}
+; RUN: llvm-as < %s | opt -analyze -scalar-evolution -disable-output |& grep {/u 3}
 ; XFAIL: *
 
 define i32 @f(i32 %x) nounwind readnone {
index 3df1fe0001356d680415d29bbe77cbde2f2425be..643d2f835b8c0afbed20c7b7294ad6834642eddf 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -analyze -scalar-evolution | grep {backedge-taken count is 255}
+; RUN: llvm-as < %s | opt -analyze -scalar-evolution -disable-output | grep {backedge-taken count is 255}
 ; XFAIL: *
 
 define i32 @foo(i32 %x, i32 %y, i32* %lam, i32* %alp) nounwind {
index 9703bcb15422b8b21984b5e5a7b6200e0d578356..995a1d95a8a89bfaea4e37e231cf2e87ccb9febc 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -analyze -scalar-evolution | grep {0 smax}
+; RUN: llvm-as < %s | opt -analyze -scalar-evolution -disable-output | grep {0 smax}
 ; XFAIL: *
 
 define i32 @f(i32 %c.idx.val) {
index 4d4fcd783edb5743aaf28223db1b1fd9544f50fc..8e064c70da9a0ec884edf8f5c465b19f730a4854 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -analyze -scalar-evolution |& \
+; RUN: llvm-as < %s | opt -analyze -scalar-evolution -disable-output |& \
 ; RUN: grep {(((-1 \\* %i0) + (100005 smax %i0)) /u 5)}
 ; XFAIL: *
 
index 2557c8bbbab20b9b1e26650c774c44069f45e8f3..950c1d21d910ae33898809c8e2260001d7f96a01 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -analyze -scalar-evolution |& grep {/u 5}
+; RUN: llvm-as < %s | opt -analyze -scalar-evolution -disable-output |& grep {/u 5}
 ; XFAIL: *
 
 define i8 @foo0(i8 %i0) nounwind {
index 07714cd1b50777656cf10d44c0d348c6c524298d..65c4cdbb1362dcfe94cf65574c114401b9f32a75 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -analyze -scalar-evolution | not grep {/u -1}
+; RUN: llvm-as < %s | opt -analyze -scalar-evolution -disable-output | not grep {/u -1}
 ; PR3275
 
 @g_16 = external global i16            ; <i16*> [#uses=3]
index c23f0f0ef1d843959daa10817b75d00685838158..6aced23cf9500bb05c4a6182f31299075a5ec39f 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -analyze -scalar-evolution | grep {(trunc i} | not grep ext
+; RUN: llvm-as < %s | opt -analyze -scalar-evolution -disable-output | grep {(trunc i} | not grep ext
 
 define i16 @test1(i8 %x) {
   %A = sext i8 %x to i32
index bea46a765d653fbf438ae3d58afdbe862a3c987e..5e5128bd577a6b5e3183087167d3f903ab45f7bf 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -analyze -scalar-evolution | grep {count is 2}
+; RUN: llvm-as < %s | opt -analyze -scalar-evolution -disable-output | grep {count is 2}
 ; PR3171
 
        %struct.Foo = type { i32 }
index 76ca4a08474722a46449d09869a0855c3caca40b..27a546f32e8279920712244e74bc2ae3541a81fd 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -analyze -scalar-evolution \
+; RUN: llvm-as < %s | opt -analyze -scalar-evolution -disable-output \
 ; RUN:   -scalar-evolution-max-iterations=0 | grep {backedge-taken count is 100}
 ; PR1101
 
index df39cc0af0841c7894efd29b21c970bfea8a95b9..ce7ee7791d581e3ff62e253c89a7d1b436ea0522 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -scalar-evolution -analyze | grep {Loop bb3: backedge-taken count is (-1 + %n)}
+; RUN: llvm-as < %s | opt -scalar-evolution -analyze -disable-output | grep {Loop bb3: backedge-taken count is (-1 + %n)}
 
 ; We don't want to use a max in the trip count expression in
 ; this testcase.
index c6b3298638b1b0df9056f8f232e15fc204d63c41..85c38e4f1c5abd595d491b62763897e947f16a72 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -analyze -scalar-evolution | grep smax
+; RUN: llvm-as < %s | opt -analyze -scalar-evolution -disable-output | grep smax
 ; PR1614
 
 define i32 @f(i32 %x, i32 %y) {
index 4818ee97f250e90ebb194f3f282ae494269b4ee7..366dfdee7146067c4f6c3f2db910428c011f211e 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llvm-as < %s | opt -analyze -scalar-evolution | grep smax | count 2
-; RUN: llvm-as < %s | opt -analyze -scalar-evolution | grep \
+; RUN: llvm-as < %s | opt -analyze -scalar-evolution -disable-output | grep smax | count 2
+; RUN: llvm-as < %s | opt -analyze -scalar-evolution -disable-output | grep \
 ; RUN:     {%. smax %. smax %.}
 ; PR1614
 
index f8894d6428ffdb606dfe6a5f74f3315a63c0a167..c5be858d1ee9158668278634c38db199f4b5070b 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -analyze -scalar-evolution \
+; RUN: llvm-as < %s | opt -analyze -scalar-evolution -disable-output \
 ; RUN:   -scalar-evolution-max-iterations=0 | grep {backedge-taken count is 10000}
 ; PR1101
 
index 8615c76db69c43278f5c71a0dbfd7fafe3b7812c..374a5621cebfdb0e0a4d4b1df300ec69f529bec9 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -analyze -scalar-evolution | \
+; RUN: llvm-as < %s | opt -analyze -scalar-evolution -disable-output | \
 ; RUN:   grep {backedge-taken count is 4}
 ; PR1101
 
index f783b8305e058bebd0ac357f94029e2b0375519c..f1caf142cfc1d22a0d8b93ef936fd91a8ac3afca 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -iv-users -analyze | grep store
+; RUN: llvm-as < %s | opt -iv-users -analyze -disable-output | grep store
 
 define fastcc void @foo() nounwind {
 entry: