1 # RUN: llc -march=hexagon -run-pass amode-opt %s -o - | FileCheck %s
4 @g0 = external global [16 x i16], align 8
12 tracksRegLiveness: true
18 ; Make sure that the offset in @g0 is 8.
19 ; CHECK: S4_storerh_ur killed $r0, 2, @g0 + 8, $r0
22 $r2 = S2_addasl_rrri $r1, $r0, 2
23 S2_storerh_io $r2, 4, $r0