annotate llvm/test/CodeGen/AMDGPU/loop_header_nopred.mir @ 206:f17a3b42b08b

Added tag before-12 for changeset b7591485f4cd
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Mon, 07 Jun 2021 21:25:57 +0900
parents 1d019706d866
children 2e18cbf3894f
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
150
anatofuz
parents:
diff changeset
1 # NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
anatofuz
parents:
diff changeset
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
anatofuz
parents:
diff changeset
3
anatofuz
parents:
diff changeset
4 # Used to fail with
anatofuz
parents:
diff changeset
5 # Assertion `Out && "Header of loop has no predecessors from outside loop?"
anatofuz
parents:
diff changeset
6
anatofuz
parents:
diff changeset
7 ---
anatofuz
parents:
diff changeset
8 name: loop_header_nopred
anatofuz
parents:
diff changeset
9 body: |
anatofuz
parents:
diff changeset
10 ; GCN-LABEL: name: loop_header_nopred
anatofuz
parents:
diff changeset
11 ; GCN: bb.0:
anatofuz
parents:
diff changeset
12 ; GCN: successors: %bb.1(0x80000000)
anatofuz
parents:
diff changeset
13 ; GCN: S_INST_PREFETCH 1
anatofuz
parents:
diff changeset
14 ; GCN: S_BRANCH %bb.1
anatofuz
parents:
diff changeset
15 ; GCN: bb.6 (align 64):
anatofuz
parents:
diff changeset
16 ; GCN: successors: %bb.7(0x04000000), %bb.1(0x7c000000)
anatofuz
parents:
diff changeset
17 ; GCN: S_CBRANCH_VCCNZ %bb.7, implicit $vcc
anatofuz
parents:
diff changeset
18 ; GCN: bb.1:
anatofuz
parents:
diff changeset
19 ; GCN: successors: %bb.2(0x40000000), %bb.3(0x40000000)
anatofuz
parents:
diff changeset
20 ; GCN: S_CBRANCH_VCCNZ %bb.2, implicit $vcc
anatofuz
parents:
diff changeset
21 ; GCN: bb.3:
anatofuz
parents:
diff changeset
22 ; GCN: successors: %bb.4(0x40000000), %bb.6(0x40000000)
anatofuz
parents:
diff changeset
23 ; GCN: SI_MASK_BRANCH %bb.6, implicit $exec
anatofuz
parents:
diff changeset
24 ; GCN: S_BRANCH %bb.4
anatofuz
parents:
diff changeset
25 ; GCN: bb.2 (align 64):
anatofuz
parents:
diff changeset
26 ; GCN: successors: %bb.4(0x40000000), %bb.6(0x40000000)
anatofuz
parents:
diff changeset
27 ; GCN: SI_MASK_BRANCH %bb.6, implicit $exec
anatofuz
parents:
diff changeset
28 ; GCN: S_BRANCH %bb.4
anatofuz
parents:
diff changeset
29 ; GCN: bb.4:
anatofuz
parents:
diff changeset
30 ; GCN: successors: %bb.5(0x04000000), %bb.4(0x7c000000)
anatofuz
parents:
diff changeset
31 ; GCN: S_NOP 0
anatofuz
parents:
diff changeset
32 ; GCN: S_NOP 0
anatofuz
parents:
diff changeset
33 ; GCN: S_NOP 0
anatofuz
parents:
diff changeset
34 ; GCN: S_NOP 0
anatofuz
parents:
diff changeset
35 ; GCN: S_NOP 0
anatofuz
parents:
diff changeset
36 ; GCN: S_NOP 0
anatofuz
parents:
diff changeset
37 ; GCN: S_NOP 0
anatofuz
parents:
diff changeset
38 ; GCN: S_NOP 0
anatofuz
parents:
diff changeset
39 ; GCN: S_NOP 0
anatofuz
parents:
diff changeset
40 ; GCN: S_NOP 0
anatofuz
parents:
diff changeset
41 ; GCN: S_NOP 0
anatofuz
parents:
diff changeset
42 ; GCN: S_CBRANCH_EXECZ %bb.4, implicit $exec
anatofuz
parents:
diff changeset
43 ; GCN: bb.5:
anatofuz
parents:
diff changeset
44 ; GCN: successors: %bb.6(0x80000000)
anatofuz
parents:
diff changeset
45 ; GCN: S_BRANCH %bb.6
anatofuz
parents:
diff changeset
46 ; GCN: bb.7:
anatofuz
parents:
diff changeset
47 ; GCN: S_ENDPGM 0
anatofuz
parents:
diff changeset
48 bb.0:
anatofuz
parents:
diff changeset
49 successors: %bb.1(0x80000000)
anatofuz
parents:
diff changeset
50
anatofuz
parents:
diff changeset
51 bb.1:
anatofuz
parents:
diff changeset
52 successors: %bb.2(0x40000000), %bb.3(0x40000000)
anatofuz
parents:
diff changeset
53
anatofuz
parents:
diff changeset
54 S_CBRANCH_VCCZ %bb.3, implicit $vcc
anatofuz
parents:
diff changeset
55 S_BRANCH %bb.2
anatofuz
parents:
diff changeset
56
anatofuz
parents:
diff changeset
57 bb.2:
anatofuz
parents:
diff changeset
58 successors: %bb.3(0x80000000)
anatofuz
parents:
diff changeset
59
anatofuz
parents:
diff changeset
60 bb.3:
anatofuz
parents:
diff changeset
61 successors: %bb.4(0x40000000), %bb.6(0x40000000)
anatofuz
parents:
diff changeset
62
anatofuz
parents:
diff changeset
63 SI_MASK_BRANCH %bb.6, implicit $exec
anatofuz
parents:
diff changeset
64 S_BRANCH %bb.4
anatofuz
parents:
diff changeset
65
anatofuz
parents:
diff changeset
66 bb.4:
anatofuz
parents:
diff changeset
67 successors: %bb.5(0x04000000), %bb.4(0x7c000000)
anatofuz
parents:
diff changeset
68
anatofuz
parents:
diff changeset
69 S_NOP 0
anatofuz
parents:
diff changeset
70 S_NOP 0
anatofuz
parents:
diff changeset
71 S_NOP 0
anatofuz
parents:
diff changeset
72 S_NOP 0
anatofuz
parents:
diff changeset
73 S_NOP 0
anatofuz
parents:
diff changeset
74 S_NOP 0
anatofuz
parents:
diff changeset
75 S_NOP 0
anatofuz
parents:
diff changeset
76 S_NOP 0
anatofuz
parents:
diff changeset
77 S_NOP 0
anatofuz
parents:
diff changeset
78 S_NOP 0
anatofuz
parents:
diff changeset
79 S_NOP 0
anatofuz
parents:
diff changeset
80 S_CBRANCH_EXECZ %bb.4, implicit $exec
anatofuz
parents:
diff changeset
81
anatofuz
parents:
diff changeset
82 bb.5:
anatofuz
parents:
diff changeset
83 successors: %bb.6(0x80000000)
anatofuz
parents:
diff changeset
84
anatofuz
parents:
diff changeset
85 bb.6:
anatofuz
parents:
diff changeset
86 successors: %bb.7(0x04000000), %bb.1(0x7c000000)
anatofuz
parents:
diff changeset
87
anatofuz
parents:
diff changeset
88 S_CBRANCH_VCCZ %bb.1, implicit $vcc
anatofuz
parents:
diff changeset
89
anatofuz
parents:
diff changeset
90 bb.7:
anatofuz
parents:
diff changeset
91 S_ENDPGM 0
anatofuz
parents:
diff changeset
92 ...