llvm-mirror/test/CodeGen/Generic/bool-to-double.ll
2007-01-17 07:59:14 +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
}