brintos

brintos / llvm-project-archived public Read only

0
0
Text · 229 B · 01d1ed2 Raw
10 lines · plain
1; RUN: llc -mtriple=hexagon < %s | FileCheck %s2; CHECK: maxu3 4define i64 @f(i64 %src, i64 %maxval) nounwind readnone {5entry:6  %cmp = icmp ult i64 %maxval, %src7  %cond = select i1 %cmp, i64 %src, i64 %maxval8  ret i64 %cond9}10