1 # RUN: llc -march=hexagon -mattr=+hvx,+hvx-length64b -run-pass hexagon-vextract %s -o - | FileCheck %s
5 tracksRegLiveness: true
13 %3:intregs = A2_tfrsi 5
14 %4:intregs = V6_extractw %0, %1
15 ; CHECK: %[[A0:[0-9]+]]:intregs = A2_andir %{{[0-9]+}}, -4
16 ; CHECK: L4_loadri_rr %{{[0-9]+}}, %[[A0]], 0
17 %5:intregs = V6_extractw %0, %2
18 ; CHECK: %[[A1:[0-9]+]]:intregs = A2_andir %{{[0-9]+}}, -4
19 ; CHECK: L4_loadri_rr %{{[0-9]+}}, %[[A1]], 0
20 %6:intregs = V6_extractw %0, %3
21 ; Make sure the offset is 4, not 5.
22 ; CHECK: L2_loadri_io %{{[0-9]+}}, 4