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

9 lines
163 B
Plaintext
Raw Normal View History

; RUN: llvm-as < %s | 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
}