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

Tree @release_21 (Download .tar.gz)

bool-to-double.ll @release_21raw · 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
}