summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/PowerPC/rlwimi2.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/CodeGen/PowerPC/rlwimi2.ll')
-rw-r--r--llvm/test/CodeGen/PowerPC/rlwimi2.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/PowerPC/rlwimi2.ll b/llvm/test/CodeGen/PowerPC/rlwimi2.ll
index c264d2ef94d..501daf0be95 100644
--- a/llvm/test/CodeGen/PowerPC/rlwimi2.ll
+++ b/llvm/test/CodeGen/PowerPC/rlwimi2.ll
@@ -1,7 +1,7 @@
; All of these ands and shifts should be folded into rlwimi's
; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 -o %t -f
-; RUN: grep rlwimi %t | wc -l | grep 3
-; RUN: grep srwi %t | wc -l | grep 1
+; RUN: grep rlwimi %t | count 3
+; RUN: grep srwi %t | count 1
; RUN: not grep slwi %t
implementation ; Functions:
OpenPOWER on IntegriCloud