1 # RUN: llc -march=hexagon -eif-limit=4 -run-pass hexagon-early-if -o - %s | FileCheck %s
2 # Check that even with the limit of 4 instructions, the block bb.1 is
6 # CHECK: %0:intregs = COPY $r0
7 # CHECK: %1:predregs = C2_cmpeqi %0, 0
8 # CHECK: %2:intregs = A2_tfrsi 123
9 # CHECK: DBG_VALUE %0, $noreg
10 # CHECK: DBG_VALUE %0, $noreg
11 # CHECK: DBG_VALUE %0, $noreg
12 # CHECK: DBG_VALUE %0, $noreg
13 # CHECK: DBG_VALUE %0, $noreg
14 # CHECK: %3:intregs = A2_tfrsi 321
15 # CHECK: %5:intregs = C2_mux %1, %2, %3
24 tracksRegLiveness: true
26 - { id: 0, class: intregs }
27 - { id: 1, class: predregs }
28 - { id: 2, class: intregs }
29 - { id: 3, class: intregs }
30 - { id: 4, class: intregs }
38 J2_jumpt %1, %bb.2, implicit-def dead $pc
39 J2_jump %bb.1, implicit-def dead $pc
50 %4 = PHI %2, %bb.0, %3, %bb.1