Convert tests using "| wc -l | grep ..." to use the count script.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41097 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/CodeGen/PowerPC/fma.ll b/test/CodeGen/PowerPC/fma.ll
index da2790b..da571f6 100644
--- a/test/CodeGen/PowerPC/fma.ll
+++ b/test/CodeGen/PowerPC/fma.ll
@@ -1,5 +1,5 @@
; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | \
-; RUN: egrep {fn?madd|fn?msub} | wc -l | grep 8
+; RUN: egrep {fn?madd|fn?msub} | count 8
double %test_FMADD1(double %A, double %B, double %C) {
%D = mul double %A, %B