summaryrefslogtreecommitdiff
path: root/test/CodeGen/PowerPC/rotl-2.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/PowerPC/rotl-2.ll')
-rw-r--r--test/CodeGen/PowerPC/rotl-2.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/PowerPC/rotl-2.ll b/test/CodeGen/PowerPC/rotl-2.ll
index 523b5e4c4a..1e6adb741a 100644
--- a/test/CodeGen/PowerPC/rotl-2.ll
+++ b/test/CodeGen/PowerPC/rotl-2.ll
@@ -1,5 +1,5 @@
-; RUN: llvm-as < %s | llc -march=ppc32 | grep rlwinm | wc -l | grep 4
-; RUN: llvm-as < %s | llc -march=ppc32 | grep rlwnm | wc -l | grep 2
+; RUN: llvm-as < %s | llc -march=ppc32 | grep rlwinm | count 4
+; RUN: llvm-as < %s | llc -march=ppc32 | grep rlwnm | count 2
; RUN: llvm-as < %s | llc -march=ppc32 | not grep or
define i32 @rotl32(i32 %A, i8 %Amt) {