1 # RUN: llc -march=hexagon -run-pass hexagon-packetizer %s -o - | FileCheck %s
3 ##############################################################################
4 # This test case is not really hexagon specific, but we use hexagon to get
7 # The goal is to verify that the BUNDLE instruction is getting the
8 # frame-setup/frame-destroy attribute if any of the bundled instructions got
10 ##############################################################################
14 tracksRegLiveness: true
19 $r3 = frame-setup L2_loadri_io $r1, 0
20 J4_cmpgtu_f_jumpnv_t killed $r3, killed $r2, %bb.1, implicit-def $pc
25 # CHECK-LABEL: name: setup
26 # CHECK: frame-setup BUNDLE
28 ##############################################################################
32 tracksRegLiveness: true
37 $r3 = frame-destroy L2_loadri_io $r1, 0
38 J4_cmpgtu_f_jumpnv_t killed $r3, killed $r2, %bb.1, implicit-def $pc
43 # CHECK-LABEL: name: destroy
44 # CHECK: frame-destroy BUNDLE
46 ##############################################################################
50 tracksRegLiveness: true
55 $r3 = frame-setup L2_loadri_io $r1, 0
56 frame-destroy J4_cmpgtu_f_jumpnv_t killed $r3, killed $r2, %bb.1, implicit-def $pc
61 # CHECK-LABEL: name: mixed
62 # CHECK: frame-setup frame-destroy BUNDLE