diff options
Diffstat (limited to 'test/CodeGen/Alpha')
-rw-r--r-- | test/CodeGen/Alpha/2005-07-12-TwoMallocCalls.ll | 2 | ||||
-rw-r--r-- | test/CodeGen/Alpha/add.ll | 26 | ||||
-rw-r--r-- | test/CodeGen/Alpha/cmpbge.ll | 2 |
3 files changed, 15 insertions, 15 deletions
diff --git a/test/CodeGen/Alpha/2005-07-12-TwoMallocCalls.ll b/test/CodeGen/Alpha/2005-07-12-TwoMallocCalls.ll index 59c65053e5..2c3ba9dda0 100644 --- a/test/CodeGen/Alpha/2005-07-12-TwoMallocCalls.ll +++ b/test/CodeGen/Alpha/2005-07-12-TwoMallocCalls.ll @@ -1,5 +1,5 @@ ; There should be exactly two calls here (memset and malloc), no more. -; RUN: llvm-upgrade < %s | llvm-as | llc -march=alpha | grep jsr | wc -l | grep 2 +; RUN: llvm-upgrade < %s | llvm-as | llc -march=alpha | grep jsr | count 2 %typedef.bc_struct = type opaque diff --git a/test/CodeGen/Alpha/add.ll b/test/CodeGen/Alpha/add.ll index add5e0c67a..260584b790 100644 --- a/test/CodeGen/Alpha/add.ll +++ b/test/CodeGen/Alpha/add.ll @@ -1,21 +1,21 @@ ;test all the shifted and signextending adds and subs with and without consts ; ; RUN: llvm-as < %s | llc -march=alpha -o %t.s -f -; RUN: grep { addl} %t.s | wc -l | grep 2 -; RUN: grep { addq} %t.s | wc -l | grep 2 -; RUN: grep { subl} %t.s | wc -l | grep 2 -; RUN: grep { subq} %t.s | wc -l | grep 1 +; RUN: grep { addl} %t.s | count 2 +; RUN: grep { addq} %t.s | count 2 +; RUN: grep { subl} %t.s | count 2 +; RUN: grep { subq} %t.s | count 1 ; -; RUN: grep {lda \$0,-100(\$16)} %t.s | wc -l | grep 1 -; RUN: grep {s4addl} %t.s | wc -l | grep 2 -; RUN: grep {s8addl} %t.s | wc -l | grep 2 -; RUN: grep {s4addq} %t.s | wc -l | grep 2 -; RUN: grep {s8addq} %t.s | wc -l | grep 2 +; RUN: grep {lda \$0,-100(\$16)} %t.s | count 1 +; RUN: grep {s4addl} %t.s | count 2 +; RUN: grep {s8addl} %t.s | count 2 +; RUN: grep {s4addq} %t.s | count 2 +; RUN: grep {s8addq} %t.s | count 2 ; -; RUN: grep {s4subl} %t.s | wc -l | grep 2 -; RUN: grep {s8subl} %t.s | wc -l | grep 2 -; RUN: grep {s4subq} %t.s | wc -l | grep 2 -; RUN: grep {s8subq} %t.s | wc -l | grep 2 +; RUN: grep {s4subl} %t.s | count 2 +; RUN: grep {s8subl} %t.s | count 2 +; RUN: grep {s4subq} %t.s | count 2 +; RUN: grep {s8subq} %t.s | count 2 define i32 @al(i32 signext %x.s, i32 signext %y.s) signext { diff --git a/test/CodeGen/Alpha/cmpbge.ll b/test/CodeGen/Alpha/cmpbge.ll index b7b1c09ce0..e99a6b1e37 100644 --- a/test/CodeGen/Alpha/cmpbge.ll +++ b/test/CodeGen/Alpha/cmpbge.ll @@ -1,4 +1,4 @@ -; RUN: llvm-upgrade < %s | llvm-as | llc -march=alpha | grep cmpbge | wc -l | grep 2 +; RUN: llvm-upgrade < %s | llvm-as | llc -march=alpha | grep cmpbge | count 2 bool %test1(ulong %A, ulong %B) { %C = and ulong %A, 255 |