Skip to content

Commit 02808f4

Browse files
author
Leon Clark
committed
Update tests.
1 parent 113318c commit 02808f4

File tree

1 file changed

+12
-14
lines changed

1 file changed

+12
-14
lines changed

llvm/test/CodeGen/AMDGPU/valu-i1.ll

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -298,35 +298,33 @@ exit:
298298
define amdgpu_kernel void @multi_vcond_loop(ptr addrspace(1) noalias nocapture %arg, ptr addrspace(1) noalias nocapture readonly %arg1, ptr addrspace(1) noalias nocapture readonly %arg2, ptr addrspace(1) noalias nocapture readonly %arg3) #1 {
299299
; SI-LABEL: multi_vcond_loop:
300300
; SI: ; %bb.0: ; %bb
301-
; SI-NEXT: s_load_dwordx2 s[8:9], s[4:5], 0xf
301+
; SI-NEXT: s_load_dwordx8 s[0:7], s[4:5], 0x9
302302
; SI-NEXT: s_mov_b32 s10, 0
303303
; SI-NEXT: v_mov_b32_e32 v7, 0
304304
; SI-NEXT: s_mov_b32 s11, 0xf000
305305
; SI-NEXT: v_lshlrev_b32_e32 v6, 2, v0
306306
; SI-NEXT: s_waitcnt lgkmcnt(0)
307+
; SI-NEXT: s_mov_b64 s[8:9], s[6:7]
307308
; SI-NEXT: buffer_load_dword v0, v[6:7], s[8:11], 0 addr64
308309
; SI-NEXT: s_waitcnt vmcnt(0)
309310
; SI-NEXT: v_cmp_lt_i32_e32 vcc, 0, v0
310-
; SI-NEXT: s_and_saveexec_b64 s[0:1], vcc
311+
; SI-NEXT: s_and_saveexec_b64 s[6:7], vcc
311312
; SI-NEXT: s_cbranch_execz .LBB5_5
312313
; SI-NEXT: ; %bb.1: ; %bb10.preheader
313-
; SI-NEXT: s_load_dwordx4 s[12:15], s[4:5], 0x9
314-
; SI-NEXT: s_load_dwordx2 s[0:1], s[4:5], 0xd
315314
; SI-NEXT: v_ashrrev_i32_e32 v1, 31, v0
315+
; SI-NEXT: v_mov_b32_e32 v3, s1
316+
; SI-NEXT: v_add_i32_e32 v2, vcc, s0, v6
317+
; SI-NEXT: v_addc_u32_e32 v3, vcc, 0, v3, vcc
318+
; SI-NEXT: v_mov_b32_e32 v5, s5
319+
; SI-NEXT: v_add_i32_e32 v4, vcc, s4, v6
320+
; SI-NEXT: v_addc_u32_e32 v5, vcc, 0, v5, vcc
321+
; SI-NEXT: v_mov_b32_e32 v7, s3
322+
; SI-NEXT: v_add_i32_e32 v6, vcc, s2, v6
323+
; SI-NEXT: v_addc_u32_e32 v7, vcc, 0, v7, vcc
316324
; SI-NEXT: s_mov_b64 s[2:3], 0
317325
; SI-NEXT: s_mov_b32 s8, s10
318326
; SI-NEXT: s_mov_b32 s9, s10
319327
; SI-NEXT: ; implicit-def: $sgpr4_sgpr5
320-
; SI-NEXT: s_waitcnt lgkmcnt(0)
321-
; SI-NEXT: v_mov_b32_e32 v3, s13
322-
; SI-NEXT: v_add_i32_e32 v2, vcc, s12, v6
323-
; SI-NEXT: v_addc_u32_e32 v3, vcc, 0, v3, vcc
324-
; SI-NEXT: v_mov_b32_e32 v5, s1
325-
; SI-NEXT: v_add_i32_e32 v4, vcc, s0, v6
326-
; SI-NEXT: v_addc_u32_e32 v5, vcc, 0, v5, vcc
327-
; SI-NEXT: v_mov_b32_e32 v7, s15
328-
; SI-NEXT: v_add_i32_e32 v6, vcc, s14, v6
329-
; SI-NEXT: v_addc_u32_e32 v7, vcc, 0, v7, vcc
330328
; SI-NEXT: s_mov_b64 s[6:7], 0
331329
; SI-NEXT: .LBB5_2: ; %bb10
332330
; SI-NEXT: ; =>This Inner Loop Header: Depth=1

0 commit comments

Comments
 (0)