Convert another test to use the count script. This one didn't fit the
authorDan Gohman <gohman@apple.com>
Wed, 15 Aug 2007 13:42:36 +0000 (13:42 +0000)
committerDan Gohman <gohman@apple.com>
Wed, 15 Aug 2007 13:42:36 +0000 (13:42 +0000)
regex used to convert all the others because the first '|' was on a
separate line.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41098 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/X86/trunc-to-bool.ll

index 69f37c0696add6db047be9afdf636858452dd168..9dd14252ace8dfc5f81ab5d3fc899878e4dc60fa 100644 (file)
@@ -2,7 +2,7 @@
 ; sure only the LSBit survives. Test that this is the case both for a returned
 ; value and as the operand of a branch.
 ; RUN: llvm-as < %s | llc -march=x86 | grep {\\(and\\)\\|\\(test.*\\\$1\\)} | \
-; RUN:   wc -l | grep 6
+; RUN:   count 6
 
 define i1 @test1(i32 %X) zeroext {
     %Y = trunc i32 %X to i1