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(0x40000000), %bb.3(0x40000000)
13 ; GCN: S_CBRANCH_VCCZ %bb.3, implicit $vcc
15 ; GCN: bb.6 (align 64):
16 ; GCN: successors: %bb.7(0x04000000), %bb.1(0x7c000000)
17 ; GCN: S_CBRANCH_VCCNZ %bb.7, implicit $vcc
19 ; GCN: successors: %bb.2(0x40000000), %bb.3(0x40000000)
20 ; GCN: S_CBRANCH_VCCNZ %bb.2, implicit $vcc
22 ; GCN: successors: %bb.4(0x40000000), %bb.6(0x40000000)
23 ; GCN: SI_MASK_BRANCH %bb.6, implicit $exec
25 ; GCN: bb.2 (align 64):
26 ; GCN: successors: %bb.4(0x40000000), %bb.6(0x40000000)
27 ; GCN: SI_MASK_BRANCH %bb.6, implicit $exec
30 ; GCN: successors: %bb.5(0x04000000), %bb.4(0x7c000000)
42 ; GCN: S_CBRANCH_EXECZ %bb.4, implicit $exec
44 ; GCN: successors: %bb.6(0x80000000)
49 successors: %bb.1(0x80000000)
52 successors: %bb.2(0x40000000), %bb.3(0x40000000)
54 S_CBRANCH_VCCZ %bb.3, implicit $vcc
58 successors: %bb.3(0x80000000)
61 successors: %bb.4(0x40000000), %bb.6(0x40000000)
63 SI_MASK_BRANCH %bb.6, implicit $exec
67 successors: %bb.5(0x04000000), %bb.4(0x7c000000)
80 S_CBRANCH_EXECZ %bb.4, implicit $exec
83 successors: %bb.6(0x80000000)
86 successors: %bb.7(0x04000000), %bb.1(0x7c000000)
88 S_CBRANCH_VCCZ %bb.1, implicit $vcc