aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/Generic/bool-to-double.ll
blob: b2396ea04cd5107df74c04c0ffa28a412331e199 (plain)
1
2
3
4
5
; RUN: llvm-as < %s | llc
double %test(bool %X) {
        %Y = cast bool %X to double
        ret double %Y
}