llvm-6502/test/CodeGen/Generic/bool-to-double.ll
2006-12-02 04:23:10 +00:00

6 lines
125 B
LLVM

; RUN: llvm-upgrade < %s | llvm-as | llc
double %test(bool %X) {
%Y = cast bool %X to double
ret double %Y
}