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

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
}