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: Window scheduling is not needed!
9 # CHECK: [[REG:%[0-9]+]]:intregs = A2_tfrsi 0
11 # CHECK: {{%[0-9]+}}:intregs = PHI {{%[0-9]+}}, %bb.0, [[REG]], %bb.2
14 name: poll_for_response
15 tracksRegLiveness: true
18 successors: %bb.2(0x80000000)
23 %2:intregs = A2_tfrsi 0
24 J2_loop0i %bb.2, 2, implicit-def $lc0, implicit-def $sa0, implicit-def $usr
25 J2_jump %bb.2, implicit-def dead $pc
28 PS_jmpret $r31, implicit-def dead $pc
31 successors: %bb.1(0x04000000), %bb.2(0x7c000000)
33 %3:intregs = PHI %1, %bb.0, %2, %bb.2
34 %4:intregs = PHI %2, %bb.0, %5, %bb.2
35 %6:intregs = S2_lsr_i_r %3, 1
36 S2_storerb_io %0, 0, killed %6
37 S4_storerb_rr %0, %4, 0, %2
38 %5:intregs = A2_tfrsi 1
39 ENDLOOP0 %bb.2, implicit-def $pc, implicit-def $lc0, implicit $sa0, implicit $lc0
40 J2_jump %bb.1, implicit-def $pc