aboutsummaryrefslogtreecommitdiffstats
path: root/test/Transforms/Reassociate/mulfactor2.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
commit28beeeac4db2d582d4947db96d62e423e4b68d88 (patch)
tree3a500b846e77d285021ec12e3ef0bbe69c498b82 /test/Transforms/Reassociate/mulfactor2.ll
parent7375bb9c8c82115dd401d67f0baaf30d6c481bd0 (diff)
downloadexternal_llvm-28beeeac4db2d582d4947db96d62e423e4b68d88.zip
external_llvm-28beeeac4db2d582d4947db96d62e423e4b68d88.tar.gz
external_llvm-28beeeac4db2d582d4947db96d62e423e4b68d88.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/Transforms/Reassociate/mulfactor2.ll')
-rw-r--r--test/Transforms/Reassociate/mulfactor2.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Transforms/Reassociate/mulfactor2.ll b/test/Transforms/Reassociate/mulfactor2.ll
index dd1e8ae..61c9f04 100644
--- a/test/Transforms/Reassociate/mulfactor2.ll
+++ b/test/Transforms/Reassociate/mulfactor2.ll
@@ -2,8 +2,8 @@
; RUN: llvm-upgrade < %s | llvm-as | \
; RUN: opt -instcombine -reassociate -instcombine | llvm-dis -o %t
-; RUN: grep mul %t | wc -l | grep 1
-; RUN: grep add %t | wc -l | grep 1
+; RUN: grep mul %t | count 1
+; RUN: grep add %t | count 1
int %main(int %t) {
%tmp.3 = mul int %t, 12 ; <int> [#uses=1]