llvm-6502/test/CodeGen/Generic/bool-to-double.ll
2009-09-09 00:09:15 +00:00

7 lines
139 B
LLVM

; RUN: llc < %s
define double @test(i1 %X) {
%Y = uitofp i1 %X to double ; <double> [#uses=1]
ret double %Y
}