@@ -4874,7 +4874,7 @@ define amdgpu_ps float @extract_elt0_dmask_0111_image_sample_1d_v4f32_f32(float
4874
4874
define amdgpu_ps <2 x float > @extract_elt0_elt1_dmask_0001_image_sample_1d_v4f32_f32 (float %s , <8 x i32 > inreg %sampler , <4 x i32 > inreg %rsrc ) #0 {
4875
4875
; CHECK-LABEL: @extract_elt0_elt1_dmask_0001_image_sample_1d_v4f32_f32(
4876
4876
; CHECK-NEXT: [[DATA:%.*]] = call float @llvm.amdgcn.image.sample.1d.f32.f32(i32 1, float [[S:%.*]], <8 x i32> [[SAMPLER:%.*]], <4 x i32> [[RSRC:%.*]], i1 false, i32 0, i32 0)
4877
- ; CHECK-NEXT: [[SHUF:%.*]] = insertelement <2 x float> <float poison, float undef> , float [[DATA]], i64 0
4877
+ ; CHECK-NEXT: [[SHUF:%.*]] = insertelement <2 x float> poison, float [[DATA]], i64 0
4878
4878
; CHECK-NEXT: ret <2 x float> [[SHUF]]
4879
4879
;
4880
4880
%data = call <4 x float > @llvm.amdgcn.image.sample.1d.v4f32.f32 (i32 1 , float %s , <8 x i32 > %sampler , <4 x i32 > %rsrc , i1 false , i32 0 , i32 0 )
@@ -4915,7 +4915,7 @@ define amdgpu_ps <2 x float> @extract_elt0_elt1_dmask_0101_image_sample_1d_v4f32
4915
4915
define amdgpu_ps <3 x float > @extract_elt0_elt1_elt2_dmask_0001_image_sample_1d_v4f32_f32 (float %s , <8 x i32 > inreg %sampler , <4 x i32 > inreg %rsrc ) #0 {
4916
4916
; CHECK-LABEL: @extract_elt0_elt1_elt2_dmask_0001_image_sample_1d_v4f32_f32(
4917
4917
; CHECK-NEXT: [[DATA:%.*]] = call float @llvm.amdgcn.image.sample.1d.f32.f32(i32 1, float [[S:%.*]], <8 x i32> [[SAMPLER:%.*]], <4 x i32> [[RSRC:%.*]], i1 false, i32 0, i32 0)
4918
- ; CHECK-NEXT: [[SHUF:%.*]] = insertelement <3 x float> <float poison, float undef, float undef> , float [[DATA]], i64 0
4918
+ ; CHECK-NEXT: [[SHUF:%.*]] = insertelement <3 x float> poison, float [[DATA]], i64 0
4919
4919
; CHECK-NEXT: ret <3 x float> [[SHUF]]
4920
4920
;
4921
4921
%data = call <4 x float > @llvm.amdgcn.image.sample.1d.v4f32.f32 (i32 1 , float %s , <8 x i32 > %sampler , <4 x i32 > %rsrc , i1 false , i32 0 , i32 0 )
0 commit comments