llvm.org GIT mirror llvm / release_20 test / CodeGen / X86 / 2004-10-08-SelectSetCCFold.llx
release_20

Tree @release_20 (Download .tar.gz)

2004-10-08-SelectSetCCFold.llx @release_20raw · history · blame

1
2
3
4
5
6
7
; 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
}