Allow x86 mov instructions to/from memory with absolute address to be encoded and...
[oota-llvm.git] / test / Assembler / 2006-12-09-Cast-To-Bool.ll
index 7264918a427e75ad61623e2d0ceb2e9fca9fd757..a70262c802c1689a432a387d5a19b1e9069b46bb 100644 (file)
@@ -1,5 +1,6 @@
 ; 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
 }