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