summaryrefslogtreecommitdiff
path: root/test/CodeGen/PowerPC/unsafe-math.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/PowerPC/unsafe-math.ll')
-rw-r--r--test/CodeGen/PowerPC/unsafe-math.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/PowerPC/unsafe-math.ll b/test/CodeGen/PowerPC/unsafe-math.ll
index 770dcb6862..3d52d0c9e7 100644
--- a/test/CodeGen/PowerPC/unsafe-math.ll
+++ b/test/CodeGen/PowerPC/unsafe-math.ll
@@ -1,6 +1,6 @@
-; RUN: llvm-as < %s | llc -march=ppc32 | grep fmul | wc -l | grep 2
+; RUN: llvm-as < %s | llc -march=ppc32 | grep fmul | count 2
; RUN: llvm-as < %s | llc -march=ppc32 -enable-unsafe-fp-math | \
-; RUN: grep fmul | wc -l | grep 1
+; RUN: grep fmul | count 1
define double @foo(double %X) {
%tmp1 = mul double %X, 1.23