llvm.org GIT mirror llvm / master test / CodeGen / Generic / bool-to-double.ll
master

Tree @master (Download .tar.gz)

bool-to-double.ll @masterraw · history · blame

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