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

Tree @release_24 (Download .tar.gz)

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

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