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/PowerPC/2007-05-22-tailmerge-3.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/PowerPC/2007-05-22-tailmerge-3.ll')
-rw-r--r-- | test/CodeGen/PowerPC/2007-05-22-tailmerge-3.ll | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/CodeGen/PowerPC/2007-05-22-tailmerge-3.ll b/test/CodeGen/PowerPC/2007-05-22-tailmerge-3.ll index 0aebeb9618..5a86418f7c 100644 --- a/test/CodeGen/PowerPC/2007-05-22-tailmerge-3.ll +++ b/test/CodeGen/PowerPC/2007-05-22-tailmerge-3.ll @@ -1,7 +1,7 @@ -; RUN: llvm-as < %s | llc -march=ppc32 | grep bl.*baz | wc -l | grep 2 -; RUN: llvm-as < %s | llc -march=ppc32 | grep bl.*quux | wc -l | grep 2 -; RUN: llvm-as < %s | llc -march=ppc32 -enable-tail-merge | grep bl.*baz | wc -l | grep 1 -; RUN: llvm-as < %s | llc -march=ppc32 -enable-tail-merge=1 | grep bl.*quux | wc -l | grep 1 +; RUN: llvm-as < %s | llc -march=ppc32 | grep bl.*baz | count 2 +; RUN: llvm-as < %s | llc -march=ppc32 | grep bl.*quux | count 2 +; RUN: llvm-as < %s | llc -march=ppc32 -enable-tail-merge | grep bl.*baz | count 1 +; RUN: llvm-as < %s | llc -march=ppc32 -enable-tail-merge=1 | grep bl.*quux | count 1 ; Check that tail merging is not the default on ppc, and that -enable-tail-merge works. ; ModuleID = 'tail.c' |