llvm-project/llvm/test/CodeGen/X86/2004-10-08-SelectSetCCFold.llx

9 lines
178 B
Plaintext

; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86
bool %test(bool %C, bool %D, int %X, int %Y) {
%E = setlt int %X, %Y
%F = select bool %C, bool %D, bool %E
ret bool %F
}