llvm.org GIT mirror llvm / release_20 test / CodeGen / Generic / bool-to-double.ll
release_20

Tree @release_20 (Download .tar.gz)

bool-to-double.ll @release_20raw · history · blame

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