1 # NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
2 # RUN: llc -march=amdgcn -o - -run-pass=block-placement -mcpu=gfx1010 -mattr=-inst-fwd-prefetch-bug -verify-machineinstrs %s | FileCheck -check-prefix=GCN %s
5 # Assertion `Out && "Header of loop has no predecessors from outside loop?"
8 name: loop_header_nopred
10 ; GCN-LABEL: name: loop_header_nopred
12 ; GCN: successors: %bb.2(0x80000000)
14 ; GCN: bb.1 (align 64):
15 ; GCN: successors: %bb.7(0x04000000), %bb.2(0x7c000000)
16 ; GCN: S_CBRANCH_VCCNZ %bb.7, implicit $vcc_lo
18 ; GCN: successors: %bb.5(0x40000000), %bb.1(0x40000000)
19 ; GCN: S_CBRANCH_EXECZ %bb.1, implicit $exec
21 ; GCN: successors: %bb.1(0x04000000), %bb.5(0x7c000000)
33 ; GCN: S_CBRANCH_EXECZ %bb.5, implicit $exec
38 successors: %bb.1(0x80000000)
41 successors: %bb.2(0x40000000), %bb.3(0x40000000)
43 S_CBRANCH_VCCZ %bb.3, implicit $vcc
47 successors: %bb.3(0x80000000)
50 successors: %bb.4(0x40000000), %bb.6(0x40000000)
52 S_CBRANCH_EXECZ %bb.6, implicit $exec
56 successors: %bb.5(0x04000000), %bb.4(0x7c000000)
69 S_CBRANCH_EXECZ %bb.4, implicit $exec
72 successors: %bb.6(0x80000000)
75 successors: %bb.7(0x04000000), %bb.1(0x7c000000)
77 S_CBRANCH_VCCZ %bb.1, implicit $vcc