Skip to content

Commit e1ef1e3

Browse files
committed
[LoadStoreVectorizer] Update more tests
1 parent 7595483 commit e1ef1e3

File tree

4 files changed

+170
-229
lines changed

4 files changed

+170
-229
lines changed

llvm/test/CodeGen/AMDGPU/GlobalISel/irtranslator-struct-return-intrinsics.ll

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ define amdgpu_ps void @test_div_scale(float %arg0, float %arg1) {
1313
; CHECK-NEXT: [[DEF:%[0-9]+]]:_(p1) = G_IMPLICIT_DEF
1414
; CHECK-NEXT: [[INT:%[0-9]+]]:_(s32), [[INT1:%[0-9]+]]:_(s1) = G_INTRINSIC intrinsic(@llvm.amdgcn.div.scale), [[COPY]](s32), [[COPY1]](s32), -1
1515
; CHECK-NEXT: [[SEXT:%[0-9]+]]:_(s32) = G_SEXT [[INT1]](s1)
16-
; CHECK-NEXT: G_STORE [[INT]](s32), [[DEF]](p1) :: (store (s32) into `ptr addrspace(1) poison`, addrspace 1)
1716
; CHECK-NEXT: G_STORE [[SEXT]](s32), [[DEF]](p1) :: (store (s32) into `ptr addrspace(1) poison`, addrspace 1)
1817
; CHECK-NEXT: S_ENDPGM 0
1918
%call = call { float, i1 } @llvm.amdgcn.div.scale.f32(float %arg0, float %arg1, i1 true)

llvm/test/CodeGen/AMDGPU/function-args-inreg.ll

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1696,8 +1696,6 @@ define void @void_func_i32_v2float_inreg(i32 inreg %arg0, <2 x float> inreg %arg
16961696
; GFX9-LABEL: void_func_i32_v2float_inreg:
16971697
; GFX9: ; %bb.0:
16981698
; GFX9-NEXT: s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
1699-
; GFX9-NEXT: v_mov_b32_e32 v0, s16
1700-
; GFX9-NEXT: global_store_dword v[0:1], v0, off
17011699
; GFX9-NEXT: v_mov_b32_e32 v0, s17
17021700
; GFX9-NEXT: v_mov_b32_e32 v1, s18
17031701
; GFX9-NEXT: global_store_dwordx2 v[0:1], v[0:1], off
@@ -1707,10 +1705,7 @@ define void @void_func_i32_v2float_inreg(i32 inreg %arg0, <2 x float> inreg %arg
17071705
; GFX11-LABEL: void_func_i32_v2float_inreg:
17081706
; GFX11: ; %bb.0:
17091707
; GFX11-NEXT: s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
1710-
; GFX11-NEXT: v_dual_mov_b32 v2, s0 :: v_dual_mov_b32 v1, s2
1711-
; GFX11-NEXT: v_mov_b32_e32 v0, s1
1712-
; GFX11-NEXT: s_clause 0x1
1713-
; GFX11-NEXT: global_store_b32 v[0:1], v2, off
1708+
; GFX11-NEXT: v_dual_mov_b32 v0, s1 :: v_dual_mov_b32 v1, s2
17141709
; GFX11-NEXT: global_store_b64 v[0:1], v[0:1], off
17151710
; GFX11-NEXT: s_setpc_b64 s[30:31]
17161711
store i32 %arg0, ptr addrspace(1) poison

0 commit comments

Comments
 (0)