[llvm-commits] [llvm] r41098 - /llvm/trunk/test/CodeGen/X86/trunc-to-bool.ll

Dan Gohman djg at cray.com
Wed Aug 15 06:42:36 PDT 2007


Author: djg
Date: Wed Aug 15 08:42:36 2007
New Revision: 41098

URL: http://llvm.org/viewvc/llvm-project?rev=41098&view=rev
Log:
Convert another test to use the count script. This one didn't fit the
regex used to convert all the others because the first '|' was on a
separate line.

Modified:
    llvm/trunk/test/CodeGen/X86/trunc-to-bool.ll

Modified: llvm/trunk/test/CodeGen/X86/trunc-to-bool.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/trunc-to-bool.ll?rev=41098&r1=41097&r2=41098&view=diff

==============================================================================
--- llvm/trunk/test/CodeGen/X86/trunc-to-bool.ll (original)
+++ llvm/trunk/test/CodeGen/X86/trunc-to-bool.ll Wed Aug 15 08:42:36 2007
@@ -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





More information about the llvm-commits mailing list