Convert tests using "| wc -l | grep ..." to use the count script.
llvm-svn: 41097
diff --git a/llvm/test/CodeGen/X86/fp-stack-ret.ll b/llvm/test/CodeGen/X86/fp-stack-ret.ll
index 69c5fc5..3e6ad54 100644
--- a/llvm/test/CodeGen/X86/fp-stack-ret.ll
+++ b/llvm/test/CodeGen/X86/fp-stack-ret.ll
@@ -1,8 +1,8 @@
; RUN: llvm-as < %s | \
; RUN: llc -mtriple=i686-apple-darwin8 -mcpu=yonah -march=x86 > %t
-; RUN: grep fldl %t | wc -l | grep 1
+; RUN: grep fldl %t | count 1
; RUN: not grep xmm %t
-; RUN: grep {sub.*esp} %t | wc -l | grep 1
+; RUN: grep {sub.*esp} %t | count 1
; These testcases shouldn't require loading into an XMM register then storing
; to memory, then reloading into an FPStack reg.