[llvm-commits] CVS: llvm/test/Regression/Assembler/2006-12-09-Cast-To-Bool.ll 2007-01-02-Undefined-Arg-Type.ll

Reid Spencer reid at x10sys.com
Fri Jan 12 21:07:29 PST 2007



Changes in directory llvm/test/Regression/Assembler:

2006-12-09-Cast-To-Bool.ll updated: 1.3 -> 1.4
2007-01-02-Undefined-Arg-Type.ll updated: 1.1 -> 1.2
---
Log message:

For PR1043: http://llvm.org/PR1043 :
Bye, Bye Booly. Remove the use of the bool type from non-upgraded test
cases and from grep expressions. The parser doesn't accept it and the
asm writer doesn't produce it any more.


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

 2006-12-09-Cast-To-Bool.ll       |    6 +++---
 2007-01-02-Undefined-Arg-Type.ll |    4 ++--
 2 files changed, 5 insertions(+), 5 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.3 llvm/test/Regression/Assembler/2006-12-09-Cast-To-Bool.ll:1.4
--- llvm/test/Regression/Assembler/2006-12-09-Cast-To-Bool.ll:1.3	Mon Jan  1 23:50:11 2007
+++ llvm/test/Regression/Assembler/2006-12-09-Cast-To-Bool.ll	Fri Jan 12 23:06:52 2007
@@ -1,5 +1,5 @@
 ; RUN: llvm-as < %s | llvm-dis | grep bitcast
-define bool %main(i32 %X) {
-  %res = bitcast bool true to bool
-  ret bool %res
+define i1 %main(i32 %X) {
+  %res = bitcast i1 true to i1
+  ret i1 %res
 }


Index: llvm/test/Regression/Assembler/2007-01-02-Undefined-Arg-Type.ll
diff -u llvm/test/Regression/Assembler/2007-01-02-Undefined-Arg-Type.ll:1.1 llvm/test/Regression/Assembler/2007-01-02-Undefined-Arg-Type.ll:1.2
--- llvm/test/Regression/Assembler/2007-01-02-Undefined-Arg-Type.ll:1.1	Tue Jan  2 14:47:51 2007
+++ llvm/test/Regression/Assembler/2007-01-02-Undefined-Arg-Type.ll	Fri Jan 12 23:06:52 2007
@@ -5,6 +5,6 @@
 
 implementation   ; Functions:
 
-define bool %someFunc(i32* %tmp.71.reload, %typedef.bc_struct* %n1) {
-	ret bool true
+define i1 %someFunc(i32* %tmp.71.reload, %typedef.bc_struct* %n1) {
+	ret i1 true
 }






More information about the llvm-commits mailing list