YouCompleteMe/cpp/llvm/test/CodeGen/Generic/bool-to-double.ll
2012-07-05 17:51:06 -07: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
}