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/rlwimi2.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/rlwimi2.ll')
-rw-r--r-- | test/CodeGen/PowerPC/rlwimi2.ll | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/PowerPC/rlwimi2.ll b/test/CodeGen/PowerPC/rlwimi2.ll index c264d2e..501daf0 100644 --- a/test/CodeGen/PowerPC/rlwimi2.ll +++ b/test/CodeGen/PowerPC/rlwimi2.ll @@ -1,7 +1,7 @@ ; All of these ands and shifts should be folded into rlwimi's ; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 -o %t -f -; RUN: grep rlwimi %t | wc -l | grep 3 -; RUN: grep srwi %t | wc -l | grep 1 +; RUN: grep rlwimi %t | count 3 +; RUN: grep srwi %t | count 1 ; RUN: not grep slwi %t implementation ; Functions: |