Convert tests using "| wc -l | grep ..." to use the count script.
llvm-svn: 41097
diff --git a/llvm/test/CodeGen/ARM/mulhi.ll b/llvm/test/CodeGen/ARM/mulhi.ll
index 9367258..bed3dba2 100644
--- a/llvm/test/CodeGen/ARM/mulhi.ll
+++ b/llvm/test/CodeGen/ARM/mulhi.ll
@@ -1,7 +1,7 @@
; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm -mattr=+v6
; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm -mattr=+v6 | \
-; RUN: grep smmul | wc -l | grep 1
-; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm | grep umull | wc -l | grep 1
+; RUN: grep smmul | count 1
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm | grep umull | count 1
int %smulhi(int %x, int %y) {
%tmp = cast int %x to ulong ; <ulong> [#uses=1]