summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/Generic/switch-lower-feature.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/Generic/switch-lower-feature.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/Generic/switch-lower-feature.ll')
-rw-r--r--llvm/test/CodeGen/Generic/switch-lower-feature.ll10
1 files changed, 5 insertions, 5 deletions
diff --git a/llvm/test/CodeGen/Generic/switch-lower-feature.ll b/llvm/test/CodeGen/Generic/switch-lower-feature.ll
index 71dbc26b8f2..989693cf3f2 100644
--- a/llvm/test/CodeGen/Generic/switch-lower-feature.ll
+++ b/llvm/test/CodeGen/Generic/switch-lower-feature.ll
@@ -1,8 +1,8 @@
-; RUN: llvm-as < %s | llc -march=x86 -o - | grep \$7 | wc -l | grep 1
-; RUN: llvm-as < %s | llc -march=x86 -o - | grep \$6 | wc -l | grep 1
-; RUN: llvm-as < %s | llc -march=x86 -o - | grep 1024 | wc -l | grep 1
-; RUN: llvm-as < %s | llc -march=x86 -o - | grep jb | wc -l | grep 2
-; RUN: llvm-as < %s | llc -march=x86 -o - | grep je | wc -l | grep 1
+; RUN: llvm-as < %s | llc -march=x86 -o - | grep \$7 | count 1
+; RUN: llvm-as < %s | llc -march=x86 -o - | grep \$6 | count 1
+; RUN: llvm-as < %s | llc -march=x86 -o - | grep 1024 | count 1
+; RUN: llvm-as < %s | llc -march=x86 -o - | grep jb | count 2
+; RUN: llvm-as < %s | llc -march=x86 -o - | grep je | count 1
define i32 @main(i32 %tmp158) {
entry:
OpenPOWER on IntegriCloud