commit | 552fb26f17ce0c44eed2d182b33a0e6700b593aa | [log] [tgz] |
---|---|---|
author | Dan Gohman <djg@cray.com> | Wed Aug 15 13:49:33 2007 +0000 |
committer | Dan Gohman <djg@cray.com> | Wed Aug 15 13:49:33 2007 +0000 |
tree | 1b89122ec72a464a3aaa95631ccc2e3dacff9537 | |
parent | 65fa0cd5247b1deef2582faf0edd64cd813b860a [diff] [blame] |
Convert tests using "grep -c ... | grep ..." to use the count script. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41100 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/Transforms/PredicateSimplifier/predsimplify.ll b/test/Transforms/PredicateSimplifier/predsimplify.ll index b88122f..76546dc 100644 --- a/test/Transforms/PredicateSimplifier/predsimplify.ll +++ b/test/Transforms/PredicateSimplifier/predsimplify.ll
@@ -1,7 +1,7 @@ ; RUN: llvm-upgrade < %s | llvm-as | \ ; RUN: opt -predsimplify -instcombine -simplifycfg | llvm-dis > %t ; RUN: grep -v declare %t | not grep fail -; RUN: grep -v declare %t | grep -c pass | grep 4 +; RUN: grep -v declare %t | grep pass | count 4 void %test1(int %x) { entry: