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/ARM/fp.ll b/test/CodeGen/ARM/fp.ll
index 4de9a06..038dd42 100644
--- a/test/CodeGen/ARM/fp.ll
+++ b/test/CodeGen/ARM/fp.ll
@@ -1,10 +1,10 @@
; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm -mattr=+vfp2 > %t
-; RUN: grep fmsr %t | wc -l | grep 4
+; RUN: grep fmsr %t | count 4
; RUN: grep fsitos %t
-; RUN: grep fmrs %t | wc -l | grep 2
+; RUN: grep fmrs %t | count 2
; RUN: grep fsitod %t
-; RUN: grep fmrrd %t | wc -l | grep 5
-; RUN: grep fmdrr %t | wc -l | grep 2
+; RUN: grep fmrrd %t | count 5
+; RUN: grep fmdrr %t | count 2
; RUN: grep fldd %t
; RUN: grep fuitod %t
; RUN: grep fuitos %t