From f9dd170e36e465bc8a16d31daae4ee775504fc47 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Wed, 15 Aug 2007 13:36:28 +0000 Subject: Convert tests using "| wc -l | grep ..." to use the count script. llvm-svn: 41097 --- llvm/test/CodeGen/ARM/str_post.ll | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'llvm/test/CodeGen/ARM/str_post.ll') diff --git a/llvm/test/CodeGen/ARM/str_post.ll b/llvm/test/CodeGen/ARM/str_post.ll index a388f54d67a..1dc4155c646 100644 --- a/llvm/test/CodeGen/ARM/str_post.ll +++ b/llvm/test/CodeGen/ARM/str_post.ll @@ -1,7 +1,7 @@ ; 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 -- cgit v1.2.3