llvm-project/llvm/test/CodeGen/Generic/bool-to-double.ll

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
}