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/Transforms/Reassociate/mulfactor2.ll | |
parent | 7375bb9c8c82115dd401d67f0baaf30d6c481bd0 (diff) | |
download | external_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.ll | 4 |
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] |