aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/Generic/bool-to-double.ll
blob: d6c9e5239516494ce15fff46cfcfda885dfc1188 (plain)
1
2
3
4
5
6
; RUN: llvm-as < %s | llc
define double @test(i1 %X) {
        %Y = uitofp i1 %X to double             ; <double> [#uses=1]
        ret double %Y
}