Convert tests using "| wc -l | grep ..." to use the count script.
llvm-svn: 41097
diff --git a/llvm/test/CodeGen/X86/compare_folding.llx b/llvm/test/CodeGen/X86/compare_folding.llx
index 631bc92..e138688 100644
--- a/llvm/test/CodeGen/X86/compare_folding.llx
+++ b/llvm/test/CodeGen/X86/compare_folding.llx
@@ -1,5 +1,5 @@
; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 -mcpu=yonah | \
-; RUN: grep movsd | wc -l | grep 1
+; RUN: grep movsd | count 1
; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 -mcpu=yonah | \
; RUN: grep ucomisd
declare bool %llvm.isunordered.f64(double,double)