llvm.org GIT mirror llvm / 559254b
Add -disable-output to a bunch of tests that don't care about the output. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73633 91177308-0d34-0410-b5e6-96231b3b80d8 Dan Gohman 11 years ago
31 changed file(s) with 32 addition(s) and 32 deletion(s). Raw diff Collapse all Expand all
None ; RUN: llvm-as < %s | opt -analyze -scalar-evolution \
0 ; RUN: llvm-as < %s | opt -analyze -scalar-evolution -disable-output \
11 ; RUN: -scalar-evolution-max-iterations=0 | grep {Loop bb: backedge-taken count is 100}
22 ; PR1533
33
None ; RUN: llvm-as < %s | opt -scalar-evolution -analyze | grep {Loop bb: backedge-taken count is (-1 + (-1 \\* %x) + %y)}
0 ; RUN: llvm-as < %s | opt -scalar-evolution -analyze -disable-output | grep {Loop bb: backedge-taken count is (-1 + (-1 \\* %x) + %y)}
11 ; PR1597
22
33 define i32 @f(i32 %x, i32 %y) {
None ; RUN: llvm-as < %s | opt -analyze -scalar-evolution \
0 ; RUN: llvm-as < %s | opt -analyze -scalar-evolution -disable-output \
11 ; RUN: -scalar-evolution-max-iterations=0 | grep {backedge-taken count is 13}
22 ; PR1706
33
None ; RUN: llvm-as < %s | opt -analyze -scalar-evolution | grep -e {--> %b}
0 ; RUN: llvm-as < %s | opt -analyze -scalar-evolution -disable-output | grep -e {--> %b}
11 ; PR1810
22
33 define void @fun() {
None ; RUN: llvm-as < %s | opt -scalar-evolution -analyze | grep {Loop header: backedge-taken count is (0 smax %n)}
0 ; RUN: llvm-as < %s | opt -scalar-evolution -analyze -disable-output | grep {Loop header: backedge-taken count is (0 smax %n)}
11
22 define void @foo(i32 %n) {
33 entry:
None ; RUN: llvm-as < %s | opt -scalar-evolution -analyze | grep {Loop loop: backedge-taken count is (100 + (-100 smax %n))}
0 ; RUN: llvm-as < %s | opt -scalar-evolution -analyze -disable-output | grep {Loop loop: backedge-taken count is (100 + (-100 smax %n))}
11 ; PR2002
22
33 define void @foo(i8 %n) {
None ; RUN: llvm-as < %s | opt -analyze -scalar-evolution | grep umax
0 ; RUN: llvm-as < %s | opt -analyze -scalar-evolution -disable-output | grep umax
11 ; PR2003
22
33 define i32 @foo(i32 %n) {
None ; RUN: llvm-as < %s | opt -analyze -scalar-evolution \
0 ; RUN: llvm-as < %s | opt -analyze -scalar-evolution -disable-output \
11 ; RUN: -scalar-evolution-max-iterations=0 | grep {backedge-taken count is 61}
22 ; PR2364
33
None ; RUN: llvm-as < %s | opt -analyze -scalar-evolution |& not grep smax
0 ; RUN: llvm-as < %s | opt -analyze -scalar-evolution -disable-output |& not grep smax
11 ; PR2261
22
33 @lut = common global [256 x i8] zeroinitializer, align 32 ; <[256 x i8]*> [#uses=1]
None ; RUN: llvm-as < %s | opt -analyze -scalar-evolution |& not grep smax
0 ; RUN: llvm-as < %s | opt -analyze -scalar-evolution -disable-output |& not grep smax
11 ; PR2070
22
33 define i32 @a(i32 %x) nounwind {
None ; RUN: llvm-as < %s | opt -analyze -scalar-evolution \
0 ; RUN: llvm-as < %s | opt -analyze -scalar-evolution -disable-output \
11 ; RUN: -scalar-evolution-max-iterations=0 | grep Unpredictable
22 ; PR2088
33
None ; RUN: llvm-as < %s | opt -analyze -scalar-evolution \
0 ; RUN: llvm-as < %s | opt -analyze -scalar-evolution -disable-output \
11 ; RUN: -scalar-evolution-max-iterations=0 | grep {backedge-taken count is 113}
22 ; PR2088
33
None ; RUN: llvm-as < %s | opt -analyze -scalar-evolution
0 ; RUN: llvm-as < %s | opt -analyze -scalar-evolution -disable-output
11 ; PR1827
22
33 declare void @use(i32)
None ; RUN: llvm-as < %s | opt -analyze -scalar-evolution
0 ; RUN: llvm-as < %s | opt -analyze -scalar-evolution -disable-output
11 ; PR2602
22
33 define i32 @a() nounwind {
None ; RUN: llvm-as < %s | opt -analyze -scalar-evolution |& \
0 ; RUN: llvm-as < %s | opt -analyze -scalar-evolution -disable-output |& \
11 ; RUN: grep {Loop bb: backedge-taken count is (7 + (-1 \\* %argc))}
22 ; XFAIL: *
33
None ; RUN: llvm-as < %s | opt -analyze -scalar-evolution |& grep {/u 3}
0 ; RUN: llvm-as < %s | opt -analyze -scalar-evolution -disable-output |& grep {/u 3}
11
22 define i32 @f(i32 %x) nounwind readnone {
33 entry:
None ; RUN: llvm-as < %s | opt -analyze -scalar-evolution |& grep {/u 3}
0 ; RUN: llvm-as < %s | opt -analyze -scalar-evolution -disable-output |& grep {/u 3}
11 ; XFAIL: *
22
33 define i32 @f(i32 %x) nounwind readnone {
None ; RUN: llvm-as < %s | opt -analyze -scalar-evolution | grep {backedge-taken count is 255}
0 ; RUN: llvm-as < %s | opt -analyze -scalar-evolution -disable-output | grep {backedge-taken count is 255}
11 ; XFAIL: *
22
33 define i32 @foo(i32 %x, i32 %y, i32* %lam, i32* %alp) nounwind {
None ; RUN: llvm-as < %s | opt -analyze -scalar-evolution | grep {0 smax}
0 ; RUN: llvm-as < %s | opt -analyze -scalar-evolution -disable-output | grep {0 smax}
11 ; XFAIL: *
22
33 define i32 @f(i32 %c.idx.val) {
None ; RUN: llvm-as < %s | opt -analyze -scalar-evolution |& \
0 ; RUN: llvm-as < %s | opt -analyze -scalar-evolution -disable-output |& \
11 ; RUN: grep {(((-1 \\* %i0) + (100005 smax %i0)) /u 5)}
22 ; XFAIL: *
33
None ; RUN: llvm-as < %s | opt -analyze -scalar-evolution |& grep {/u 5}
0 ; RUN: llvm-as < %s | opt -analyze -scalar-evolution -disable-output |& grep {/u 5}
11 ; XFAIL: *
22
33 define i8 @foo0(i8 %i0) nounwind {
None ; RUN: llvm-as < %s | opt -analyze -scalar-evolution | not grep {/u -1}
0 ; RUN: llvm-as < %s | opt -analyze -scalar-evolution -disable-output | not grep {/u -1}
11 ; PR3275
22
33 @g_16 = external global i16 ; [#uses=3]
None ; RUN: llvm-as < %s | opt -analyze -scalar-evolution | grep {(trunc i} | not grep ext
0 ; RUN: llvm-as < %s | opt -analyze -scalar-evolution -disable-output | grep {(trunc i} | not grep ext
11
22 define i16 @test1(i8 %x) {
33 %A = sext i8 %x to i32
None ; RUN: llvm-as < %s | opt -analyze -scalar-evolution | grep {count is 2}
0 ; RUN: llvm-as < %s | opt -analyze -scalar-evolution -disable-output | grep {count is 2}
11 ; PR3171
22
33 %struct.Foo = type { i32 }
None ; RUN: llvm-as < %s | opt -analyze -scalar-evolution \
0 ; RUN: llvm-as < %s | opt -analyze -scalar-evolution -disable-output \
11 ; RUN: -scalar-evolution-max-iterations=0 | grep {backedge-taken count is 100}
22 ; PR1101
33
None ; RUN: llvm-as < %s | opt -scalar-evolution -analyze | grep {Loop bb3: backedge-taken count is (-1 + %n)}
0 ; RUN: llvm-as < %s | opt -scalar-evolution -analyze -disable-output | grep {Loop bb3: backedge-taken count is (-1 + %n)}
11
22 ; We don't want to use a max in the trip count expression in
33 ; this testcase.
None ; RUN: llvm-as < %s | opt -analyze -scalar-evolution | grep smax
0 ; RUN: llvm-as < %s | opt -analyze -scalar-evolution -disable-output | grep smax
11 ; PR1614
22
33 define i32 @f(i32 %x, i32 %y) {
None ; RUN: llvm-as < %s | opt -analyze -scalar-evolution | grep smax | count 2
1 ; RUN: llvm-as < %s | opt -analyze -scalar-evolution | grep \
0 ; RUN: llvm-as < %s | opt -analyze -scalar-evolution -disable-output | grep smax | count 2
1 ; RUN: llvm-as < %s | opt -analyze -scalar-evolution -disable-output | grep \
22 ; RUN: {%. smax %. smax %.}
33 ; PR1614
44
None ; RUN: llvm-as < %s | opt -analyze -scalar-evolution \
0 ; RUN: llvm-as < %s | opt -analyze -scalar-evolution -disable-output \
11 ; RUN: -scalar-evolution-max-iterations=0 | grep {backedge-taken count is 10000}
22 ; PR1101
33
None ; RUN: llvm-as < %s | opt -analyze -scalar-evolution | \
0 ; RUN: llvm-as < %s | opt -analyze -scalar-evolution -disable-output | \
11 ; RUN: grep {backedge-taken count is 4}
22 ; PR1101
33
None ; RUN: llvm-as < %s | opt -iv-users -analyze | grep store
0 ; RUN: llvm-as < %s | opt -iv-users -analyze -disable-output | grep store
11
22 define fastcc void @foo() nounwind {
33 entry: