brintos

brintos / llvm-project-archived public Read only

0
0
Text · 438 B · 91308c3 Raw
26 lines · plain
1# RUN: llc -mtriple=hexagon -run-pass amode-opt %s -o - | FileCheck %s2 3--- |4  @g0 = external global [16 x i16], align 85  define void @foo() {6    ret void7  }8...9 10---11name: foo12tracksRegLiveness: true13 14body: |15  bb.0:16    liveins: $r017 18    ; Make sure that the offset in @g0 is 8.19    ; CHECK: S4_storerh_ur killed $r0, 2, @g0 + 8, $r020 21    $r1 = A2_tfrsi @g0+422    $r2 = S2_addasl_rrri $r1, $r0, 223    S2_storerh_io $r2, 4, $r024...25 26