Home | History | Annotate | Download | only in Hexagon
      1 ; RUN: llc -march=hexagon < %s | FileCheck %s
      2 ;
      3 ; Either and or zxtb.
      4 ; CHECK: r0 = and(r1,#255)
      5 
      6 %struct.t0 = type { i32 }
      7 
      8 define i32 @foo(%struct.t0* byval align 8 %s, i8 zeroext %t, i8 %u) #0 {
      9   %a = zext i8 %u to i32
     10   ret i32 %a
     11 }
     12