1 # RUN: llc -march=hexagon -run-pass hexagon-packetizer %s -o - | FileCheck %s
3 # Make sure that the new-value jump is packetized with the producer. In this
4 # case, the loads cold be packetized together (with updating the offset in
5 # the second load), but then the new-value jump would not be possible to
6 # put in the same packet.
8 # CHECK-LABEL: name: fred
10 # CHECK-NEXT: $r3 = L2_loadri_io $r1, 0
11 # CHECK-NEXT: J4_cmpgtu_f_jumpnv_t internal killed $r3
15 define void @fred() { ret void }
16 @array = external global [256 x i32], align 8
21 tracksRegLiveness: true
26 $r2, $r1 = L2_loadri_pi $r1, 4
27 $r3 = L2_loadri_io $r1, 0
28 J4_cmpgtu_f_jumpnv_t killed $r3, killed $r2, %bb.1, implicit-def $pc