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/PowerPC/vec_spat.ll | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'llvm/test/CodeGen/PowerPC/vec_spat.ll') diff --git a/llvm/test/CodeGen/PowerPC/vec_spat.ll b/llvm/test/CodeGen/PowerPC/vec_spat.ll index 15e29509270..a8acee06264 100644 --- a/llvm/test/CodeGen/PowerPC/vec_spat.ll +++ b/llvm/test/CodeGen/PowerPC/vec_spat.ll @@ -1,10 +1,10 @@ ; Test that vectors are scalarized/lowered correctly. ; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 -mcpu=g3 | \ -; RUN: grep stfs | wc -l | grep 4 +; RUN: grep stfs | count 4 ; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 -mcpu=g5 -o %t -f -; RUN: grep vspltw %t | wc -l | grep 2 -; RUN: grep vsplti %t | wc -l | grep 3 -; RUN: grep vsplth %t | wc -l | grep 1 +; RUN: grep vspltw %t | count 2 +; RUN: grep vsplti %t | count 3 +; RUN: grep vsplth %t | count 1 %f4 = type <4 x float> %i4 = type <4 x int> -- cgit v1.2.3