New testcase. This now codegens to:
[oota-llvm.git] / test / CodeGen / X86 / 2004-03-30-Select-Max.llx
1 ; RUN: llvm-as < %s | llc -march=x86 | not grep 'j[lgbe]'
2
3 int %max(int %A, int %B) {
4   %gt = setgt int %A, %B
5   %R = select bool %gt, int %A, int %B
6   ret int %R
7 }