[llvm-commits] CVS: llvm/test/Regression/Assembler/2006-12-09-Cast-To-Bool.ll

Reid Spencer reid at x10sys.com
Mon Jan 1 21:50:26 PST 2007



Changes in directory llvm/test/Regression/Assembler:

2006-12-09-Cast-To-Bool.ll updated: 1.2 -> 1.3
---
Log message:

Manually upgrade this test case to make sure that the new cast-to-bool
semantics are retained.


---
Diffs of the changes:  (+3 -3)

 2006-12-09-Cast-To-Bool.ll |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)


Index: llvm/test/Regression/Assembler/2006-12-09-Cast-To-Bool.ll
diff -u llvm/test/Regression/Assembler/2006-12-09-Cast-To-Bool.ll:1.2 llvm/test/Regression/Assembler/2006-12-09-Cast-To-Bool.ll:1.3
--- llvm/test/Regression/Assembler/2006-12-09-Cast-To-Bool.ll:1.2	Sat Dec  9 13:39:56 2006
+++ llvm/test/Regression/Assembler/2006-12-09-Cast-To-Bool.ll	Mon Jan  1 23:50:11 2007
@@ -1,5 +1,5 @@
-; RUN: llvm-upgrade < %s | llvm-as | llvm-dis | grep bitcast
-bool %main(int %X) {
-  %res = cast bool true to bool
+; RUN: llvm-as < %s | llvm-dis | grep bitcast
+define bool %main(i32 %X) {
+  %res = bitcast bool true to bool
   ret bool %res
 }






More information about the llvm-commits mailing list