Convert tests using "| wc -l | grep ..." to use the count script.
llvm-svn: 41097
diff --git a/llvm/test/CodeGen/X86/mmx-insert-element.ll b/llvm/test/CodeGen/X86/mmx-insert-element.ll
index 3f2e402..e24b482 100644
--- a/llvm/test/CodeGen/X86/mmx-insert-element.ll
+++ b/llvm/test/CodeGen/X86/mmx-insert-element.ll
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | llc -march=x86 -mattr=+mmx | grep movq | wc -l | grep 3
+; RUN: llvm-as < %s | llc -march=x86 -mattr=+mmx | grep movq | count 3
; FIXME: This code outputs:
;