77; GCN: buffer_store_dword v0
88define amdgpu_ps void @adjust_writemask_crash_0_nochain () #0 {
99main_body:
10- %tmp = call <2 x float > @llvm.amdgcn.image.getlod.1d.v2f32.f32 (i32 3 , float undef , <8 x i32 > poison, <4 x i32 > poison, i1 0 , i32 0 , i32 0 )
10+ %tmp = call <2 x float > @llvm.amdgcn.image.getlod.1d.v2f32.f32 (i32 3 , float poison , <8 x i32 > poison, <4 x i32 > poison, i1 0 , i32 0 , i32 0 )
1111 %tmp1 = bitcast <2 x float > %tmp to <2 x i32 >
1212 %tmp2 = shufflevector <2 x i32 > %tmp1 , <2 x i32 > poison, <4 x i32 > <i32 1 , i32 poison, i32 poison, i32 poison>
1313 %tmp3 = bitcast <4 x i32 > %tmp2 to <4 x float >
@@ -23,7 +23,7 @@ main_body:
2323; GCN: buffer_store_dword v0
2424define amdgpu_ps void @adjust_writemask_crash_1_nochain () #0 {
2525main_body:
26- %tmp = call <2 x float > @llvm.amdgcn.image.getlod.1d.v2f32.f32 (i32 3 , float undef , <8 x i32 > poison, <4 x i32 > poison, i1 0 , i32 0 , i32 0 )
26+ %tmp = call <2 x float > @llvm.amdgcn.image.getlod.1d.v2f32.f32 (i32 3 , float poison , <8 x i32 > poison, <4 x i32 > poison, i1 0 , i32 0 , i32 0 )
2727 %tmp1 = bitcast <2 x float > %tmp to <2 x i32 >
2828 %tmp2 = shufflevector <2 x i32 > %tmp1 , <2 x i32 > poison, <4 x i32 > <i32 1 , i32 0 , i32 poison, i32 poison>
2929 %tmp3 = bitcast <4 x i32 > %tmp2 to <4 x float >
@@ -39,7 +39,7 @@ main_body:
3939; GCN: buffer_store_dword v0
4040define amdgpu_ps void @adjust_writemask_crash_0_chain () #0 {
4141main_body:
42- %tmp = call <2 x float > @llvm.amdgcn.image.sample.1d.v2f32.f32 (i32 3 , float undef , <8 x i32 > poison, <4 x i32 > poison, i1 0 , i32 0 , i32 0 )
42+ %tmp = call <2 x float > @llvm.amdgcn.image.sample.1d.v2f32.f32 (i32 3 , float poison , <8 x i32 > poison, <4 x i32 > poison, i1 0 , i32 0 , i32 0 )
4343 %tmp1 = bitcast <2 x float > %tmp to <2 x i32 >
4444 %tmp2 = shufflevector <2 x i32 > %tmp1 , <2 x i32 > poison, <4 x i32 > <i32 1 , i32 poison, i32 poison, i32 poison>
4545 %tmp3 = bitcast <4 x i32 > %tmp2 to <4 x float >
@@ -55,7 +55,7 @@ main_body:
5555; GCN: buffer_store_dword v0
5656define amdgpu_ps void @adjust_writemask_crash_1_chain () #0 {
5757main_body:
58- %tmp = call <2 x float > @llvm.amdgcn.image.sample.1d.v2f32.f32 (i32 3 , float undef , <8 x i32 > poison, <4 x i32 > poison, i1 0 , i32 0 , i32 0 )
58+ %tmp = call <2 x float > @llvm.amdgcn.image.sample.1d.v2f32.f32 (i32 3 , float poison , <8 x i32 > poison, <4 x i32 > poison, i1 0 , i32 0 , i32 0 )
5959 %tmp1 = bitcast <2 x float > %tmp to <2 x i32 >
6060 %tmp2 = shufflevector <2 x i32 > %tmp1 , <2 x i32 > poison, <4 x i32 > <i32 1 , i32 0 , i32 poison, i32 poison>
6161 %tmp3 = bitcast <4 x i32 > %tmp2 to <4 x float >
@@ -66,7 +66,7 @@ main_body:
6666
6767define amdgpu_ps void @adjust_writemask_crash_0_v4 () #0 {
6868main_body:
69- %tmp = call <4 x float > @llvm.amdgcn.image.getlod.1d.v4f32.f32 (i32 5 , float undef , <8 x i32 > poison, <4 x i32 > poison, i1 0 , i32 0 , i32 0 )
69+ %tmp = call <4 x float > @llvm.amdgcn.image.getlod.1d.v4f32.f32 (i32 5 , float poison , <8 x i32 > poison, <4 x i32 > poison, i1 0 , i32 0 , i32 0 )
7070 %tmp1 = bitcast <4 x float > %tmp to <4 x i32 >
7171 %tmp2 = shufflevector <4 x i32 > %tmp1 , <4 x i32 > poison, <4 x i32 > <i32 1 , i32 poison, i32 poison, i32 poison>
7272 %tmp3 = bitcast <4 x i32 > %tmp2 to <4 x float >
0 commit comments