aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/PowerPC/unsafe-math.ll
diff options
context:
space:
mode:
authorDan Gohman <djg@cray.com>2007-08-15 13:36:28 +0000
committerDan Gohman <djg@cray.com>2007-08-15 13:36:28 +0000
commit8c89a50187561ea4fc6c62f3ea74bb6b8e63802a (patch)
tree3a500b846e77d285021ec12e3ef0bbe69c498b82 /test/CodeGen/PowerPC/unsafe-math.ll
parent2190f1727277e34ab4c30195bc4e4b8087315999 (diff)
downloadexternal_llvm-8c89a50187561ea4fc6c62f3ea74bb6b8e63802a.zip
external_llvm-8c89a50187561ea4fc6c62f3ea74bb6b8e63802a.tar.gz
external_llvm-8c89a50187561ea4fc6c62f3ea74bb6b8e63802a.tar.bz2
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/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 770dcb6..3d52d0c 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