2 # RUN: llc --march=hexagon %s -run-pass=pipeliner -debug-only=pipeliner \
3 # RUN: -window-sched=force -filetype=null -verify-machineinstrs 2>&1 \
6 # CHECK: Loop carried phis are not supported yet!
7 # CHECK: The WindowScheduler failed to initialize!
9 # CHECK: bb.3 (machine-block-address-taken):
10 # CHECK: {{%[0-9]+}}:intregs = PHI {{%[0-9]+}}, %bb.1, [[REG:%[0-9]+]], %bb.3
11 # CHECK: [[REG]]:intregs = PHI {{%[0-9]+}}, %bb.1, {{%[0-9]+}}, %bb.3
15 tracksRegLiveness: true
18 successors: %bb.2(0x30000000), %bb.1(0x50000000)
19 liveins: $r0, $r1, $r2
24 %3:predregs = C2_cmpeqi %2, 0
25 J2_jumpt killed %3, %bb.2, implicit-def dead $pc
26 J2_jump %bb.1, implicit-def dead $pc
29 successors: %bb.3(0x80000000)
32 %5:intregs = A2_addi %2, 31
33 %6:intregs = S2_lsr_i_r %5, 5
35 J2_loop0r %bb.3, %7, implicit-def $lc0, implicit-def $sa0, implicit-def $usr
36 J2_jump %bb.3, implicit-def dead $pc
39 PS_jmpret $r31, implicit-def dead $pc
41 bb.3 (machine-block-address-taken):
42 successors: %bb.3(0x7c000000), %bb.2(0x04000000)
44 %8:intregs = PHI %0, %bb.1, %9, %bb.3
45 %9:intregs = PHI %1, %bb.1, %10, %bb.3
46 %11:hvxvr, %10:intregs = V6_vL32b_pi %9, 128
47 %12:hvxvr = V6_vmaxw killed %11, %4
48 %13:intregs = V6_vS32b_pi %8, 128, killed %12
49 ENDLOOP0 %bb.3, implicit-def $pc, implicit-def $lc0, implicit $sa0, implicit $lc0
50 J2_jump %bb.2, implicit-def dead $pc