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

7 lines
149 B
LLVM
Raw Normal View History

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