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)
 {



_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to