summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/PowerPC/2007-05-22-tailmerge-3.ll
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2007-08-15 13:36:28 +0000
committerDan Gohman <gohman@apple.com>2007-08-15 13:36:28 +0000
commitf9dd170e36e465bc8a16d31daae4ee775504fc47 (patch)
treee8cd2e8640601e2d8257120efe6037e3fb1a4f38 /llvm/test/CodeGen/PowerPC/2007-05-22-tailmerge-3.ll
parent3640e780577af9115e58823b9b688e4ef5d58908 (diff)
downloadbcm5719-llvm-f9dd170e36e465bc8a16d31daae4ee775504fc47.tar.gz
bcm5719-llvm-f9dd170e36e465bc8a16d31daae4ee775504fc47.zip
Convert tests using "| wc -l | grep ..." to use the count script.
llvm-svn: 41097
Diffstat (limited to 'llvm/test/CodeGen/PowerPC/2007-05-22-tailmerge-3.ll')
-rw-r--r--llvm/test/CodeGen/PowerPC/2007-05-22-tailmerge-3.ll8
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/test/CodeGen/PowerPC/2007-05-22-tailmerge-3.ll b/llvm/test/CodeGen/PowerPC/2007-05-22-tailmerge-3.ll
index 0aebeb96183..5a86418f7cb 100644
--- a/llvm/test/CodeGen/PowerPC/2007-05-22-tailmerge-3.ll
+++ b/llvm/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'
OpenPOWER on IntegriCloud