diff options
author | Dan Gohman <djg@cray.com> | 2007-08-15 13:36:28 +0000 |
---|---|---|
committer | Dan Gohman <djg@cray.com> | 2007-08-15 13:36:28 +0000 |
commit | 8c89a50187561ea4fc6c62f3ea74bb6b8e63802a (patch) | |
tree | 3a500b846e77d285021ec12e3ef0bbe69c498b82 /test/CodeGen/PowerPC/bswap-load-store.ll | |
parent | 2190f1727277e34ab4c30195bc4e4b8087315999 (diff) | |
download | external_llvm-8c89a50187561ea4fc6c62f3ea74bb6b8e63802a.zip external_llvm-8c89a50187561ea4fc6c62f3ea74bb6b8e63802a.tar.gz external_llvm-8c89a50187561ea4fc6c62f3ea74bb6b8e63802a.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/CodeGen/PowerPC/bswap-load-store.ll')
-rw-r--r-- | test/CodeGen/PowerPC/bswap-load-store.ll | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/PowerPC/bswap-load-store.ll b/test/CodeGen/PowerPC/bswap-load-store.ll index 0c4a117..272964a 100644 --- a/test/CodeGen/PowerPC/bswap-load-store.ll +++ b/test/CodeGen/PowerPC/bswap-load-store.ll @@ -1,9 +1,9 @@ ; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | \ -; RUN: grep {stwbrx\\|lwbrx\\|sthbrx\\|lhbrx} | wc -l | grep 4 +; RUN: grep {stwbrx\\|lwbrx\\|sthbrx\\|lhbrx} | count 4 ; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | not grep rlwinm ; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | not grep rlwimi ; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc64 | \ -; RUN: grep {stwbrx\\|lwbrx\\|sthbrx\\|lhbrx} | wc -l | grep 4 +; RUN: grep {stwbrx\\|lwbrx\\|sthbrx\\|lhbrx} | count 4 ; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc64 | not grep rlwinm ; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc64 | not grep rlwimi |