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/CFrontend/2006-01-16-BitCountIntrinsicsUnsigned.c b/test/CFrontend/2006-01-16-BitCountIntrinsicsUnsigned.c index ee74432..598ffb5 100644 --- a/test/CFrontend/2006-01-16-BitCountIntrinsicsUnsigned.c +++ b/test/CFrontend/2006-01-16-BitCountIntrinsicsUnsigned.c
@@ -1,5 +1,5 @@ -// RUN: %llvmgcc -S %s -o - | grep {llvm.ctlz.i32( i32} | wc -l | grep 2 -// RUN: %llvmgcc -S %s -o - | grep {llvm.ctlz.i32(i32} | wc -l | grep 1 +// RUN: %llvmgcc -S %s -o - | grep {llvm.ctlz.i32( i32} | count 2 +// RUN: %llvmgcc -S %s -o - | grep {llvm.ctlz.i32(i32} | count 1 unsigned t2(unsigned X) { return __builtin_clz(X);