32 lines · plain
1# RUN: llc -mtriple=hexagon -run-pass hexagon-packetizer %s -o - | FileCheck %s2 3# Make sure that the new-value jump is packetized with the producer. In this4# case, the loads cold be packetized together (with updating the offset in5# the second load), but then the new-value jump would not be possible to6# put in the same packet.7 8# CHECK-LABEL: name: fred9# CHECK: BUNDLE10# CHECK-NEXT: $r3 = L2_loadri_io $r1, 011# CHECK-NEXT: J4_cmpgtu_f_jumpnv_t internal killed $r312 13 14--- |15 define void @fred() { ret void }16 @array = external global [256 x i32], align 817...18 19---20name: fred21tracksRegLiveness: true22body: |23 bb.0:24 successors: %bb.125 $r1 = A2_tfrsi @array26 $r2, $r1 = L2_loadri_pi $r1, 427 $r3 = L2_loadri_io $r1, 028 J4_cmpgtu_f_jumpnv_t killed $r3, killed $r2, %bb.1, implicit-def $pc29 30 bb.1:31...32