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