blob: bd7ab47d1e617916b9879d06da6153e499fe02ac [file] [log] [blame]
Dan Gohmanf17a25c2007-07-18 16:29:46 +00001; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 | not grep {j\[lgbe\]}
2
3int %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}