summaryrefslogtreecommitdiff
path: root/test/CodeGen/PowerPC/vec_spat.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/PowerPC/vec_spat.ll')
-rw-r--r--test/CodeGen/PowerPC/vec_spat.ll8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/CodeGen/PowerPC/vec_spat.ll b/test/CodeGen/PowerPC/vec_spat.ll
index 15e2950927..a8acee0626 100644
--- a/test/CodeGen/PowerPC/vec_spat.ll
+++ b/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>