1; RUN: llc -march=hexagon < %s | FileCheck %s 2; CHECK: minu 3 4define i64 @f(i64 %src, i64 %maxval) nounwind readnone { 5entry: 6 %cmp = icmp ugt i64 %maxval, %src 7 %cond = select i1 %cmp, i64 %src, i64 %maxval 8 ret i64 %cond 9} 10