commit | 8c89a50187561ea4fc6c62f3ea74bb6b8e63802a | [log] [tgz] |
---|---|---|
author | Dan Gohman <djg@cray.com> | Wed Aug 15 13:36:28 2007 +0000 |
committer | Dan Gohman <djg@cray.com> | Wed Aug 15 13:36:28 2007 +0000 |
tree | 3a500b846e77d285021ec12e3ef0bbe69c498b82 | |
parent | 2190f1727277e34ab4c30195bc4e4b8087315999 [diff] [blame] |
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
diff --git a/test/Transforms/InstCombine/apint-shift-simplify.ll b/test/Transforms/InstCombine/apint-shift-simplify.ll index 4c352cf..a0046fb 100644 --- a/test/Transforms/InstCombine/apint-shift-simplify.ll +++ b/test/Transforms/InstCombine/apint-shift-simplify.ll
@@ -1,5 +1,5 @@ ; RUN: llvm-as < %s | opt -instcombine | llvm-dis | \ -; RUN: egrep {shl|lshr|ashr} | wc -l | grep 3 +; RUN: egrep {shl|lshr|ashr} | count 3 define i41 @test0(i41 %A, i41 %B, i41 %C) { %X = shl i41 %A, %C