Convert tests using "| wc -l | grep ..." to use the count script.
llvm-svn: 41097
diff --git a/llvm/test/CodeGen/Alpha/cmpbge.ll b/llvm/test/CodeGen/Alpha/cmpbge.ll
index b7b1c09..e99a6b1 100644
--- a/llvm/test/CodeGen/Alpha/cmpbge.ll
+++ b/llvm/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