Skip to content

Commit 1039a6b

Browse files
remove half, float test
1 parent 4d4f883 commit 1039a6b

File tree

1 file changed

+0
-23
lines changed

1 file changed

+0
-23
lines changed

llvm/test/CodeGen/AMDGPU/uniform-vgpr-to-sgpr-return.ll

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -117,26 +117,3 @@ define amdgpu_ps i16 @uniform_v_to_s_i16(half inreg %a, half inreg %b) {
117117
ret i16 %cast
118118
}
119119

120-
define amdgpu_ps half @uniform_add_i16_cast_to_f16(i16 inreg %a, i16 inreg %b) {
121-
; GFX11-LABEL: uniform_add_i16_cast_to_f16:
122-
; GFX11: ; %bb.0:
123-
; GFX11-NEXT: s_add_i32 s0, s0, s1
124-
; GFX11-NEXT: s_delay_alu instid0(SALU_CYCLE_1)
125-
; GFX11-NEXT: v_mov_b32_e32 v0, s0
126-
; GFX11-NEXT: ; return to shader part epilog
127-
%add = add i16 %a, %b
128-
%cast = bitcast i16 %add to half
129-
ret half %cast
130-
}
131-
132-
define amdgpu_ps float @uniform_mul_i32_cast_to_float(i32 inreg %a, i32 inreg %b) {
133-
; GFX11-LABEL: uniform_mul_i32_cast_to_float:
134-
; GFX11: ; %bb.0:
135-
; GFX11-NEXT: s_mul_i32 s0, s0, s1
136-
; GFX11-NEXT: s_delay_alu instid0(SALU_CYCLE_1)
137-
; GFX11-NEXT: v_mov_b32_e32 v0, s0
138-
; GFX11-NEXT: ; return to shader part epilog
139-
%mul = mul i32 %a, %b
140-
%cast = bitcast i32 %mul to float
141-
ret float %cast
142-
}

0 commit comments

Comments
 (0)