You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
250 B

; RUN: llc -march=hexagon < %s | FileCheck %s
;
; Either and or zxtb.
; CHECK: r0 = and(r1,#255)
%struct.t0 = type { i32 }
define i32 @foo(%struct.t0* byval(%struct.t0) align 8 %s, i8 zeroext %t, i8 %u) #0 {
%a = zext i8 %u to i32
ret i32 %a
}