Use the llvm-upgrade program to upgrade llvm assembly.
[oota-llvm.git] / test / CodeGen / X86 / 2004-03-30-Select-Max.llx
1 ; RUN: llvm-upgrade < %s | llvm-as | 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 }