[LibCallSimplifier] don't allow sqrt transform unless all ops are unsafe
[oota-llvm.git] / test / Assembler / 2006-12-09-Cast-To-Bool.ll
index 7264918a427e75ad61623e2d0ceb2e9fca9fd757..91abe770a41cc0c10e53634972417bd2daa81aae 100644 (file)
@@ -1,5 +1,7 @@
 ; RUN: llvm-as < %s | llvm-dis | grep bitcast
-define bool %main(i32 %X) {
-  %res = bitcast bool true to bool
-  ret bool %res
+; RUN: verify-uselistorder %s
+
+define i1 @main(i32 %X) {
+  %res = bitcast i1 true to i1
+  ret i1 %res
 }