Changes in directory llvm/test/Regression/CodeGen/X86:
trunc-to-bool.ll updated: 1.1 -> 1.2 --- Log message: Alter these tests to ensure they match a "test $1, X" X86 instruction that is now generated by the LLVM backend for "trunc to bool" instructions. --- Diffs of the changes: (+1 -1) trunc-to-bool.ll | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/test/Regression/CodeGen/X86/trunc-to-bool.ll diff -u llvm/test/Regression/CodeGen/X86/trunc-to-bool.ll:1.1 llvm/test/Regression/CodeGen/X86/trunc-to-bool.ll:1.2 --- llvm/test/Regression/CodeGen/X86/trunc-to-bool.ll:1.1 Sun Nov 26 19:05:10 2006 +++ llvm/test/Regression/CodeGen/X86/trunc-to-bool.ll Sun Nov 26 23:08:03 2006 @@ -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 && -; RUN: llvm-as < %s | llc -march=x86 | grep '\(and\)\|\(test.*1\)' | wc -l | grep 3 +; RUN: llvm-as < %s | llc -march=x86 | grep '\(and\)\|\(test.*\$1\)' | wc -l | grep 3 bool %test1(int %X) { %Y = trunc int %X to bool ret bool %Y _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits