1 ; RUN: llc -march=hexagon < %s | FileCheck %s
4 define zeroext i8 @f(ptr noalias nocapture %src) nounwind readonly {
6 %arrayidx = getelementptr inbounds i8, ptr %src, i32 1
7 %0 = load i8, ptr %arrayidx, align 1
8 %cmp = icmp ult i8 %0, 127
9 %. = select i1 %cmp, i8 %0, i8 127