; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm | \
-; RUN: grep {strh .*\\\[.*\], #-4} | wc -l | grep 1
+; RUN: grep {strh .*\\\[.*\], #-4} | count 1
; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm | \
-; RUN: grep {str .*\\\[.*\],} | wc -l | grep 1
+; RUN: grep {str .*\\\[.*\],} | count 1
short %test1(int *%X, short *%A) {
%Y = load int* %X