diff options
author | Dan Gohman <gohman@apple.com> | 2007-08-15 13:36:28 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2007-08-15 13:36:28 +0000 |
commit | 28beeeac4db2d582d4947db96d62e423e4b68d88 (patch) | |
tree | 3a500b846e77d285021ec12e3ef0bbe69c498b82 /test/CodeGen/X86/x86-64-mem.ll | |
parent | 7375bb9c8c82115dd401d67f0baaf30d6c481bd0 (diff) | |
download | llvm-28beeeac4db2d582d4947db96d62e423e4b68d88.tar.gz llvm-28beeeac4db2d582d4947db96d62e423e4b68d88.tar.bz2 llvm-28beeeac4db2d582d4947db96d62e423e4b68d88.tar.xz |
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/x86-64-mem.ll')
-rw-r--r-- | test/CodeGen/X86/x86-64-mem.ll | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/test/CodeGen/X86/x86-64-mem.ll b/test/CodeGen/X86/x86-64-mem.ll index 1e942c5c19..930383d8e9 100644 --- a/test/CodeGen/X86/x86-64-mem.ll +++ b/test/CodeGen/X86/x86-64-mem.ll @@ -1,13 +1,13 @@ ; RUN: llvm-upgrade < %s | llvm-as | llc -mtriple=x86_64-apple-darwin -o %t1 -f -; RUN: grep GOTPCREL %t1 | wc -l | grep 4 -; RUN: grep rip %t1 | wc -l | grep 6 -; RUN: grep movq %t1 | wc -l | grep 6 -; RUN: grep leaq %t1 | wc -l | grep 1 +; RUN: grep GOTPCREL %t1 | count 4 +; RUN: grep rip %t1 | count 6 +; RUN: grep movq %t1 | count 6 +; RUN: grep leaq %t1 | count 1 ; RUN: llvm-upgrade < %s | llvm-as | \ ; RUN: llc -mtriple=x86_64-pc-linux -relocation-model=static -o %t2 -f -; RUN: grep rip %t2 | wc -l | grep 4 -; RUN: grep movl %t2 | wc -l | grep 2 -; RUN: grep movq %t2 | wc -l | grep 2 +; RUN: grep rip %t2 | count 4 +; RUN: grep movl %t2 | count 2 +; RUN: grep movq %t2 | count 2 %ptr = external global int* %src = external global [0 x int] |