Convert tests using "| wc -l | grep ..." to use the count script.
llvm-svn: 41097
diff --git a/llvm/test/CodeGen/X86/shift-folding.ll b/llvm/test/CodeGen/X86/shift-folding.ll
index 671476a..19bf4ee 100644
--- a/llvm/test/CodeGen/X86/shift-folding.ll
+++ b/llvm/test/CodeGen/X86/shift-folding.ll
@@ -1,5 +1,5 @@
; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 | \
-; RUN: grep {s\[ah\]\[rl\]l} | wc -l | grep 1
+; RUN: grep {s\[ah\]\[rl\]l} | count 1
int* %test1(int *%P, uint %X) {
%Y = shr uint %X, ubyte 2