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/constants.ll b/test/CodeGen/PowerPC/constants.ll
index 4689a62..0c0d4ed 100644
--- a/test/CodeGen/PowerPC/constants.ll
+++ b/test/CodeGen/PowerPC/constants.ll
@@ -1,10 +1,10 @@
; All of these routines should be perform optimal load of constants.
; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | \
-; RUN: grep lis | wc -l | grep 5
+; RUN: grep lis | count 5
; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | \
-; RUN: grep ori | wc -l | grep 3
+; RUN: grep ori | count 3
; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | \
-; RUN: grep {li } | wc -l | grep 4
+; RUN: grep {li } | count 4
implementation ; Functions: