@@ -1842,10 +1842,10 @@ define amdgpu_ps <4 x float> @test_kill_1(<8 x i32> inreg %rsrc, <4 x i32> inreg
18421842; GFX9-W64-LABEL: test_kill_1:
18431843; GFX9-W64: ; %bb.0: ; %main_body
18441844; GFX9-W64-NEXT: s_mov_b64 s[12:13], exec
1845- ; GFX9-W64-NEXT: v_mov_b32_e32 v4, v2
18461845; GFX9-W64-NEXT: s_wqm_b64 exec, exec
18471846; GFX9-W64-NEXT: v_mov_b32_e32 v5, v0
18481847; GFX9-W64-NEXT: image_sample v0, v1, s[0:7], s[8:11] dmask:0x1
1848+ ; GFX9-W64-NEXT: v_mov_b32_e32 v4, v2
18491849; GFX9-W64-NEXT: s_and_b64 exec, exec, s[12:13]
18501850; GFX9-W64-NEXT: s_waitcnt vmcnt(0)
18511851; GFX9-W64-NEXT: image_sample v[0:3], v0, s[0:7], s[8:11] dmask:0xf
@@ -1866,10 +1866,10 @@ define amdgpu_ps <4 x float> @test_kill_1(<8 x i32> inreg %rsrc, <4 x i32> inreg
18661866; GFX10-W32-LABEL: test_kill_1:
18671867; GFX10-W32: ; %bb.0: ; %main_body
18681868; GFX10-W32-NEXT: s_mov_b32 s12, exec_lo
1869- ; GFX10-W32-NEXT: v_mov_b32_e32 v4, v2
18701869; GFX10-W32-NEXT: s_wqm_b32 exec_lo, exec_lo
18711870; GFX10-W32-NEXT: v_mov_b32_e32 v5, v0
18721871; GFX10-W32-NEXT: image_sample v0, v1, s[0:7], s[8:11] dmask:0x1 dim:SQ_RSRC_IMG_1D
1872+ ; GFX10-W32-NEXT: v_mov_b32_e32 v4, v2
18731873; GFX10-W32-NEXT: s_and_b32 exec_lo, exec_lo, s12
18741874; GFX10-W32-NEXT: s_waitcnt vmcnt(0)
18751875; GFX10-W32-NEXT: image_sample v[0:3], v0, s[0:7], s[8:11] dmask:0xf dim:SQ_RSRC_IMG_1D
@@ -2174,8 +2174,8 @@ define amdgpu_ps <4 x float> @test_scc(i32 inreg %sel, i32 %idx) #1 {
21742174; GFX9-W64-LABEL: test_scc:
21752175; GFX9-W64: ; %bb.0: ; %main_body
21762176; GFX9-W64-NEXT: s_mov_b64 s[2:3], exec
2177- ; GFX9-W64-NEXT: v_mov_b32_e32 v4, v0
21782177; GFX9-W64-NEXT: s_wqm_b64 exec, exec
2178+ ; GFX9-W64-NEXT: v_mov_b32_e32 v4, v0
21792179; GFX9-W64-NEXT: s_cmp_lt_i32 s0, 1
21802180; GFX9-W64-NEXT: s_cbranch_scc0 .LBB39_2
21812181; GFX9-W64-NEXT: ; %bb.1: ; %else
@@ -2199,9 +2199,9 @@ define amdgpu_ps <4 x float> @test_scc(i32 inreg %sel, i32 %idx) #1 {
21992199;
22002200; GFX10-W32-LABEL: test_scc:
22012201; GFX10-W32: ; %bb.0: ; %main_body
2202- ; GFX10-W32-NEXT: v_mov_b32_e32 v4, v0
22032202; GFX10-W32-NEXT: s_mov_b32 s1, exec_lo
22042203; GFX10-W32-NEXT: s_wqm_b32 exec_lo, exec_lo
2204+ ; GFX10-W32-NEXT: v_mov_b32_e32 v4, v0
22052205; GFX10-W32-NEXT: s_cmp_lt_i32 s0, 1
22062206; GFX10-W32-NEXT: s_cbranch_scc0 .LBB39_2
22072207; GFX10-W32-NEXT: ; %bb.1: ; %else
0 commit comments