aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/pr1489.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/X86/pr1489.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/X86/pr1489.ll')
-rw-r--r--test/CodeGen/X86/pr1489.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/X86/pr1489.ll b/test/CodeGen/X86/pr1489.ll
index 61e68df..a7f3e79 100644
--- a/test/CodeGen/X86/pr1489.ll
+++ b/test/CodeGen/X86/pr1489.ll
@@ -1,5 +1,5 @@
-; RUN: llvm-as < %s | llc -disable-fp-elim -fast -mcpu=i486 | grep 1082126238 | wc -l | grep 3
-; RUN: llvm-as < %s | llc -disable-fp-elim -fast -mcpu=i486 | grep 3058016715 | wc -l | grep 1
+; RUN: llvm-as < %s | llc -disable-fp-elim -fast -mcpu=i486 | grep 1082126238 | count 3
+; RUN: llvm-as < %s | llc -disable-fp-elim -fast -mcpu=i486 | grep 3058016715 | count 1
;; magic constants are 3.999f and half of 3.999
; ModuleID = '1489.c'
target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64"