brintos

brintos / llvm-project-archived public Read only

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