1 ; RUN: llc -march=hexagon < %s | FileCheck %s
3 ; CHECK-LABEL: A2_combine_ll:
4 ; CHECK: combine(r1.l,r0.l)
5 define i32 @A2_combine_ll(i32 %a0, i32 %a1) #0 {
7 %v3 = and i32 %a0, 65535
13 ; CHECK-LABEL: A2_combine_lh:
14 ; CHECK: combine(r1.l,r0.h)
15 define i32 @A2_combine_lh(i32 %a0, i32 %a1) #0 {
17 %v3 = lshr i32 %a0, 16
23 ; CHECK-LABEL: A2_combine_hl:
24 ; CHECK: combine(r1.h,r0.l)
25 define i32 @A2_combine_hl(i32 %a0, i32 %a1) #0 {
27 %v3 = and i32 %a0, 65535
28 %v4 = and i32 %a1, 268431360
33 ; CHECK-LABEL: A2_combine_hh:
34 ; CHECK: combine(r1.h,r0.h)
35 define i32 @A2_combine_hh(i32 %a0, i32 %a1) #0 {
37 %v3 = lshr i32 %a0, 16
38 %v4 = and i32 %a1, 268431360
43 attributes #0 = { noinline nounwind optnone readnone }