aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/2004-10-08-SelectSetCCFold.llx
blob: 6757be2782f16561383d29a9ded017123254060e (plain)
1
2
3
4
5
6
7
8
; 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
}