Add fcopysign instructions
[oota-llvm.git] / test / CodeGen / Generic / bool-to-double.ll
index b2396ea04cd5107df74c04c0ffa28a412331e199..d6c9e5239516494ce15fff46cfcfda885dfc1188 100644 (file)
@@ -1,5 +1,6 @@
 ; RUN: llvm-as < %s | llc
-double %test(bool %X) {
-        %Y = cast bool %X to double
+define double @test(i1 %X) {
+        %Y = uitofp i1 %X to double             ; <double> [#uses=1]
         ret double %Y
 }
+