llvm-6502/test/CodeGen/Generic/bool-to-double.ll

6 lines
110 B
LLVM
Raw Normal View History

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