[llvm-commits] CVS: llvm/test/Regression/CFrontend/cast-to-bool.c

Reid Spencer reid at x10sys.com
Sun Nov 26 21:08:20 PST 2006



Changes in directory llvm/test/Regression/CFrontend:

cast-to-bool.c 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)

 cast-to-bool.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/test/Regression/CFrontend/cast-to-bool.c
diff -u llvm/test/Regression/CFrontend/cast-to-bool.c:1.1 llvm/test/Regression/CFrontend/cast-to-bool.c:1.2
--- llvm/test/Regression/CFrontend/cast-to-bool.c:1.1	Sun Nov 26 19:05:10 2006
+++ llvm/test/Regression/CFrontend/cast-to-bool.c	Sun Nov 26 23:08:03 2006
@@ -1,5 +1,5 @@
 // RUN: %llvmgcc -S %s -o - | grep 'trunc.*to bool'
-// RUN: %llvmgcc -S %s -o - | llvm-as | llc -march=x86 | grep and
+// RUN: %llvmgcc -S %s -o - | llvm-as | llc -march=x86 | grep 'test.*1'
 int
 main ( int argc, char** argv)
 {






More information about the llvm-commits mailing list