summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/Alpha/add.ll
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2007-08-15 13:36:28 +0000
committerDan Gohman <gohman@apple.com>2007-08-15 13:36:28 +0000
commitf9dd170e36e465bc8a16d31daae4ee775504fc47 (patch)
treee8cd2e8640601e2d8257120efe6037e3fb1a4f38 /llvm/test/CodeGen/Alpha/add.ll
parent3640e780577af9115e58823b9b688e4ef5d58908 (diff)
downloadbcm5719-llvm-f9dd170e36e465bc8a16d31daae4ee775504fc47.tar.gz
bcm5719-llvm-f9dd170e36e465bc8a16d31daae4ee775504fc47.zip
Convert tests using "| wc -l | grep ..." to use the count script.
llvm-svn: 41097
Diffstat (limited to 'llvm/test/CodeGen/Alpha/add.ll')
-rw-r--r--llvm/test/CodeGen/Alpha/add.ll26
1 files changed, 13 insertions, 13 deletions
diff --git a/llvm/test/CodeGen/Alpha/add.ll b/llvm/test/CodeGen/Alpha/add.ll
index add5e0c67af..260584b7904 100644
--- a/llvm/test/CodeGen/Alpha/add.ll
+++ b/llvm/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 {
OpenPOWER on IntegriCloud