aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/test-pic-jtbl.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/test-pic-jtbl.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/test-pic-jtbl.ll')
-rw-r--r--test/CodeGen/X86/test-pic-jtbl.ll8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/CodeGen/X86/test-pic-jtbl.ll b/test/CodeGen/X86/test-pic-jtbl.ll
index 516b766..7347e28 100644
--- a/test/CodeGen/X86/test-pic-jtbl.ll
+++ b/test/CodeGen/X86/test-pic-jtbl.ll
@@ -1,10 +1,10 @@
; RUN: llvm-as < %s | llc -mtriple=i686-pc-linux-gnu -relocation-model=pic \
; RUN: -o %t -f
; RUN: grep _GLOBAL_OFFSET_TABLE_ %t
-; RUN: grep piclabel %t | wc -l | grep 3
-; RUN: grep PLT %t | wc -l | grep 6
-; RUN: grep GOTOFF %t | wc -l | grep 2
-; RUN: grep JTI %t | wc -l | grep 9
+; RUN: grep piclabel %t | count 3
+; RUN: grep PLT %t | count 6
+; RUN: grep GOTOFF %t | count 2
+; RUN: grep JTI %t | count 9
define void @bar(i32 %n.u) {
entry: