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

6 lines
110 B
LLVM

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