1# RUN: llc -march=hexagon -run-pass amode-opt %s -o - | FileCheck %s 2 3# This testcase used to crash. 4# CHECK: S2_storerb_io killed $r0, @var_i8, killed $r2 5 6--- | 7 define void @fred() { ret void } 8 @var_i8 = global [10 x i8] zeroinitializer, align 8 9... 10 11--- 12name: fred 13tracksRegLiveness: true 14body: | 15 bb.0: 16 liveins: $r0 17 $r1 = A2_tfrsi @var_i8 18 $r2 = A2_tfrsi 255 19 S4_storerb_rr killed $r0, killed $r1, 0, killed $r2 20 PS_jmpret $r31, implicit-def $pc 21... 22 23