1 # RUN: llc -march=hexagon -run-pass amode-opt %s -o - | FileCheck %s
3 # This testcase used to crash.
4 # CHECK: S2_storerb_io killed $r0, @var_i8, killed $r2
7 define void @fred() { ret void }
8 @var_i8 = global [10 x i8] zeroinitializer, align 8
13 tracksRegLiveness: true
17 $r1 = A2_tfrsi @var_i8
19 S4_storerb_rr killed $r0, killed $r1, 0, killed $r2
20 PS_jmpret $r31, implicit-def $pc