summaryrefslogtreecommitdiff
path: root/test/CodeGen/PowerPC/vec_shuffle.ll
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2007-08-15 13:36:28 +0000
committerDan Gohman <gohman@apple.com>2007-08-15 13:36:28 +0000
commit28beeeac4db2d582d4947db96d62e423e4b68d88 (patch)
tree3a500b846e77d285021ec12e3ef0bbe69c498b82 /test/CodeGen/PowerPC/vec_shuffle.ll
parent7375bb9c8c82115dd401d67f0baaf30d6c481bd0 (diff)
Convert tests using "| wc -l | grep ..." to use the count script.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41097 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/PowerPC/vec_shuffle.ll')
-rw-r--r--test/CodeGen/PowerPC/vec_shuffle.ll10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/CodeGen/PowerPC/vec_shuffle.ll b/test/CodeGen/PowerPC/vec_shuffle.ll
index ba856ee98d4..e26f6c170db 100644
--- a/test/CodeGen/PowerPC/vec_shuffle.ll
+++ b/test/CodeGen/PowerPC/vec_shuffle.ll
@@ -1,11 +1,11 @@
; RUN: llvm-upgrade < %s | llvm-as | opt -instcombine | \
; RUN: llc -march=ppc32 -mcpu=g5 | not grep vperm
; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 -mcpu=g5 > %t
-; RUN: grep vsldoi %t | wc -l | grep 2
-; RUN: grep vmrgh %t | wc -l | grep 7
-; RUN: grep vmrgl %t | wc -l | grep 6
-; RUN: grep vpkuhum %t | wc -l | grep 1
-; RUN: grep vpkuwum %t | wc -l | grep 1
+; RUN: grep vsldoi %t | count 2
+; RUN: grep vmrgh %t | count 7
+; RUN: grep vmrgl %t | count 6
+; RUN: grep vpkuhum %t | count 1
+; RUN: grep vpkuwum %t | count 1
void %VSLDOI_xy(<8 x short>* %A, <8 x short>* %B) {
entry: