Skip to content

Commit 17e13da

Browse files
committed
[AMDGPU] Re-auto-generate test checks
1 parent e3ffe72 commit 17e13da

File tree

2 files changed

+15
-15
lines changed

2 files changed

+15
-15
lines changed

llvm/test/CodeGen/AMDGPU/infinite-loop.ll

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -84,13 +84,14 @@ define amdgpu_kernel void @infinite_loops(i32 addrspace(1)* %out) {
8484
; SI-NEXT: s_mov_b32 s2, -1
8585
; SI-NEXT: v_mov_b32_e32 v0, 0x378
8686
; SI-NEXT: s_and_b64 vcc, exec, -1
87-
; SI-NEXT: BB2_2:
88-
; SI: s_waitcnt lgkmcnt(0)
87+
; SI-NEXT: BB2_2: ; %loop2
88+
; SI-NEXT: ; =>This Inner Loop Header: Depth=1
89+
; SI-NEXT: s_waitcnt lgkmcnt(0)
8990
; SI-NEXT: buffer_store_dword v0, off, s[0:3], 0
9091
; SI-NEXT: s_cbranch_vccnz BB2_2
91-
; SI-NEXT: ; %bb.3:
92+
; SI-NEXT: ; %bb.3: ; %Flow
9293
; SI-NEXT: s_mov_b64 s[2:3], 0
93-
; SI-NEXT: BB2_4:
94+
; SI-NEXT: BB2_4: ; %Flow2
9495
; SI-NEXT: s_and_b64 vcc, exec, s[2:3]
9596
; SI-NEXT: s_waitcnt lgkmcnt(0)
9697
; SI-NEXT: s_mov_b64 vcc, vcc
@@ -101,12 +102,12 @@ define amdgpu_kernel void @infinite_loops(i32 addrspace(1)* %out) {
101102
; SI-NEXT: s_waitcnt expcnt(0)
102103
; SI-NEXT: v_mov_b32_e32 v0, 0x3e7
103104
; SI-NEXT: s_and_b64 vcc, exec, 0
104-
; SI-NEXT: BB2_6:
105-
; SI: buffer_store_dword v0, off, s[0:3], 0
105+
; SI-NEXT: BB2_6: ; %loop1
106+
; SI-NEXT: ; =>This Inner Loop Header: Depth=1
107+
; SI-NEXT: buffer_store_dword v0, off, s[0:3], 0
106108
; SI-NEXT: s_cbranch_vccz BB2_6
107-
; SI-NEXT: BB2_7:
109+
; SI-NEXT: BB2_7: ; %DummyReturnBlock
108110
; SI-NEXT: s_endpgm
109-
110111
; IR-LABEL: @infinite_loops(
111112
; IR-NEXT: entry:
112113
; IR-NEXT: br i1 undef, label [[LOOP1:%.*]], label [[LOOP2:%.*]]

llvm/test/CodeGen/AMDGPU/nested-loop-conditions.ll

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -145,31 +145,30 @@ define amdgpu_kernel void @nested_loop_conditions(i64 addrspace(1)* nocapture %a
145145
; GCN-NEXT: v_cmp_lt_i32_e32 vcc, 8, v0
146146
; GCN-NEXT: s_and_b64 vcc, exec, vcc
147147
; GCN-NEXT: s_cbranch_vccnz BB1_6
148-
149148
; GCN-NEXT: ; %bb.1: ; %bb14.lr.ph
150149
; GCN-NEXT: buffer_load_dword v0, off, s[0:3], 0
151150
; GCN-NEXT: s_branch BB1_3
152-
; GCN-NEXT: BB1_2: ; in Loop: Header=BB1_3 Depth=1
151+
; GCN-NEXT: BB1_2: ; in Loop: Header=BB1_3 Depth=1
153152
; GCN-NEXT: s_mov_b64 s[0:1], -1
154153
; GCN-NEXT: ; implicit-def: $vgpr0
155154
; GCN-NEXT: s_cbranch_execnz BB1_6
156155
; GCN-NEXT: BB1_3: ; %bb14
157156
; GCN-NEXT: ; =>This Loop Header: Depth=1
158-
; GCN-NEXT: ; Child Loop BB1_4 Depth 2
157+
; GCN-NEXT: ; Child Loop BB1_4 Depth 2
159158
; GCN-NEXT: s_waitcnt vmcnt(0)
160159
; GCN-NEXT: v_cmp_ne_u32_e32 vcc, 1, v0
161160
; GCN-NEXT: s_and_b64 vcc, exec, vcc
162161
; GCN-NEXT: s_cbranch_vccnz BB1_2
163162
; GCN-NEXT: BB1_4: ; %bb18
164-
; GCN-NEXT: ; Parent Loop BB1_3 Depth=1
165-
; GCN-NEXT: ; => This Inner Loop Header: Depth=2
163+
; GCN-NEXT: ; Parent Loop BB1_3 Depth=1
164+
; GCN-NEXT: ; => This Inner Loop Header: Depth=2
166165
; GCN-NEXT: buffer_load_dword v0, off, s[0:3], 0
167166
; GCN-NEXT: s_waitcnt vmcnt(0)
168167
; GCN-NEXT: v_cmp_lt_i32_e32 vcc, 8, v0
169168
; GCN-NEXT: s_and_b64 vcc, exec, vcc
170169
; GCN-NEXT: s_cbranch_vccnz BB1_4
171-
; GCN-NEXT: ; %bb.5: ; %bb21
172-
; GCN-NEXT: ; in Loop: Header=BB1_3 Depth=1
170+
; GCN-NEXT: ; %bb.5: ; %bb21
171+
; GCN-NEXT: ; in Loop: Header=BB1_3 Depth=1
173172
; GCN-NEXT: buffer_load_dword v0, off, s[0:3], 0
174173
; GCN-NEXT: buffer_load_dword v1, off, s[0:3], 0
175174
; GCN-NEXT: s_waitcnt vmcnt(0)

0 commit comments

Comments
 (0)