@@ -870,10 +870,10 @@ define void @dyn_insertelement_v8f64_const_s_v_v(double %val, i32 %idx) {
870
870
; GFX11-NEXT: s_setpc_b64 s[30:31]
871
871
entry:
872
872
%insert = insertelement <8 x double > <double 1 .0 , double 2 .0 , double 3 .0 , double 4 .0 , double 5 .0 , double 6 .0 , double 7 .0 , double 8 .0 >, double %val , i32 %idx
873
- %vec.0 = shufflevector <8 x double > %insert , <8 x double > undef , <2 x i32 > <i32 0 , i32 1 >
874
- %vec.1 = shufflevector <8 x double > %insert , <8 x double > undef , <2 x i32 > <i32 2 , i32 3 >
875
- %vec.2 = shufflevector <8 x double > %insert , <8 x double > undef , <2 x i32 > <i32 4 , i32 5 >
876
- %vec.3 = shufflevector <8 x double > %insert , <8 x double > undef , <2 x i32 > <i32 6 , i32 7 >
873
+ %vec.0 = shufflevector <8 x double > %insert , <8 x double > poison , <2 x i32 > <i32 0 , i32 1 >
874
+ %vec.1 = shufflevector <8 x double > %insert , <8 x double > poison , <2 x i32 > <i32 2 , i32 3 >
875
+ %vec.2 = shufflevector <8 x double > %insert , <8 x double > poison , <2 x i32 > <i32 4 , i32 5 >
876
+ %vec.3 = shufflevector <8 x double > %insert , <8 x double > poison , <2 x i32 > <i32 6 , i32 7 >
877
877
store volatile <2 x double > %vec.0 , ptr addrspace (1 ) undef
878
878
store volatile <2 x double > %vec.1 , ptr addrspace (1 ) undef
879
879
store volatile <2 x double > %vec.2 , ptr addrspace (1 ) undef
@@ -1081,10 +1081,10 @@ define amdgpu_ps void @dyn_insertelement_v8f64_s_s_v(<8 x double> inreg %vec, do
1081
1081
; GFX11-NEXT: s_endpgm
1082
1082
entry:
1083
1083
%insert = insertelement <8 x double > %vec , double %val , i32 %idx
1084
- %vec.0 = shufflevector <8 x double > %insert , <8 x double > undef , <2 x i32 > <i32 0 , i32 1 >
1085
- %vec.1 = shufflevector <8 x double > %insert , <8 x double > undef , <2 x i32 > <i32 2 , i32 3 >
1086
- %vec.2 = shufflevector <8 x double > %insert , <8 x double > undef , <2 x i32 > <i32 4 , i32 5 >
1087
- %vec.3 = shufflevector <8 x double > %insert , <8 x double > undef , <2 x i32 > <i32 6 , i32 7 >
1084
+ %vec.0 = shufflevector <8 x double > %insert , <8 x double > poison , <2 x i32 > <i32 0 , i32 1 >
1085
+ %vec.1 = shufflevector <8 x double > %insert , <8 x double > poison , <2 x i32 > <i32 2 , i32 3 >
1086
+ %vec.2 = shufflevector <8 x double > %insert , <8 x double > poison , <2 x i32 > <i32 4 , i32 5 >
1087
+ %vec.3 = shufflevector <8 x double > %insert , <8 x double > poison , <2 x i32 > <i32 6 , i32 7 >
1088
1088
store volatile <2 x double > %vec.0 , ptr addrspace (1 ) undef
1089
1089
store volatile <2 x double > %vec.1 , ptr addrspace (1 ) undef
1090
1090
store volatile <2 x double > %vec.2 , ptr addrspace (1 ) undef
@@ -1229,10 +1229,10 @@ define amdgpu_ps void @dyn_insertelement_v8f64_s_v_s(<8 x double> inreg %vec, do
1229
1229
; GFX11-NEXT: s_endpgm
1230
1230
entry:
1231
1231
%insert = insertelement <8 x double > %vec , double %val , i32 %idx
1232
- %vec.0 = shufflevector <8 x double > %insert , <8 x double > undef , <2 x i32 > <i32 0 , i32 1 >
1233
- %vec.1 = shufflevector <8 x double > %insert , <8 x double > undef , <2 x i32 > <i32 2 , i32 3 >
1234
- %vec.2 = shufflevector <8 x double > %insert , <8 x double > undef , <2 x i32 > <i32 4 , i32 5 >
1235
- %vec.3 = shufflevector <8 x double > %insert , <8 x double > undef , <2 x i32 > <i32 6 , i32 7 >
1232
+ %vec.0 = shufflevector <8 x double > %insert , <8 x double > poison , <2 x i32 > <i32 0 , i32 1 >
1233
+ %vec.1 = shufflevector <8 x double > %insert , <8 x double > poison , <2 x i32 > <i32 2 , i32 3 >
1234
+ %vec.2 = shufflevector <8 x double > %insert , <8 x double > poison , <2 x i32 > <i32 4 , i32 5 >
1235
+ %vec.3 = shufflevector <8 x double > %insert , <8 x double > poison , <2 x i32 > <i32 6 , i32 7 >
1236
1236
store volatile <2 x double > %vec.0 , ptr addrspace (1 ) undef
1237
1237
store volatile <2 x double > %vec.1 , ptr addrspace (1 ) undef
1238
1238
store volatile <2 x double > %vec.2 , ptr addrspace (1 ) undef
@@ -1289,10 +1289,10 @@ define amdgpu_ps void @dyn_insertelement_v8f64_v_s_s(<8 x double> %vec, double i
1289
1289
; GFX11-NEXT: s_endpgm
1290
1290
entry:
1291
1291
%insert = insertelement <8 x double > %vec , double %val , i32 %idx
1292
- %vec.0 = shufflevector <8 x double > %insert , <8 x double > undef , <2 x i32 > <i32 0 , i32 1 >
1293
- %vec.1 = shufflevector <8 x double > %insert , <8 x double > undef , <2 x i32 > <i32 2 , i32 3 >
1294
- %vec.2 = shufflevector <8 x double > %insert , <8 x double > undef , <2 x i32 > <i32 4 , i32 5 >
1295
- %vec.3 = shufflevector <8 x double > %insert , <8 x double > undef , <2 x i32 > <i32 6 , i32 7 >
1292
+ %vec.0 = shufflevector <8 x double > %insert , <8 x double > poison , <2 x i32 > <i32 0 , i32 1 >
1293
+ %vec.1 = shufflevector <8 x double > %insert , <8 x double > poison , <2 x i32 > <i32 2 , i32 3 >
1294
+ %vec.2 = shufflevector <8 x double > %insert , <8 x double > poison , <2 x i32 > <i32 4 , i32 5 >
1295
+ %vec.3 = shufflevector <8 x double > %insert , <8 x double > poison , <2 x i32 > <i32 6 , i32 7 >
1296
1296
store volatile <2 x double > %vec.0 , ptr addrspace (1 ) undef
1297
1297
store volatile <2 x double > %vec.1 , ptr addrspace (1 ) undef
1298
1298
store volatile <2 x double > %vec.2 , ptr addrspace (1 ) undef
@@ -1494,10 +1494,10 @@ define amdgpu_ps void @dyn_insertelement_v8f64_s_v_v(<8 x double> inreg %vec, do
1494
1494
; GFX11-NEXT: s_endpgm
1495
1495
entry:
1496
1496
%insert = insertelement <8 x double > %vec , double %val , i32 %idx
1497
- %vec.0 = shufflevector <8 x double > %insert , <8 x double > undef , <2 x i32 > <i32 0 , i32 1 >
1498
- %vec.1 = shufflevector <8 x double > %insert , <8 x double > undef , <2 x i32 > <i32 2 , i32 3 >
1499
- %vec.2 = shufflevector <8 x double > %insert , <8 x double > undef , <2 x i32 > <i32 4 , i32 5 >
1500
- %vec.3 = shufflevector <8 x double > %insert , <8 x double > undef , <2 x i32 > <i32 6 , i32 7 >
1497
+ %vec.0 = shufflevector <8 x double > %insert , <8 x double > poison , <2 x i32 > <i32 0 , i32 1 >
1498
+ %vec.1 = shufflevector <8 x double > %insert , <8 x double > poison , <2 x i32 > <i32 2 , i32 3 >
1499
+ %vec.2 = shufflevector <8 x double > %insert , <8 x double > poison , <2 x i32 > <i32 4 , i32 5 >
1500
+ %vec.3 = shufflevector <8 x double > %insert , <8 x double > poison , <2 x i32 > <i32 6 , i32 7 >
1501
1501
store volatile <2 x double > %vec.0 , ptr addrspace (1 ) undef
1502
1502
store volatile <2 x double > %vec.1 , ptr addrspace (1 ) undef
1503
1503
store volatile <2 x double > %vec.2 , ptr addrspace (1 ) undef
@@ -1617,10 +1617,10 @@ define amdgpu_ps void @dyn_insertelement_v8f64_v_s_v(<8 x double> %vec, double i
1617
1617
; GFX11-NEXT: s_endpgm
1618
1618
entry:
1619
1619
%insert = insertelement <8 x double > %vec , double %val , i32 %idx
1620
- %vec.0 = shufflevector <8 x double > %insert , <8 x double > undef , <2 x i32 > <i32 0 , i32 1 >
1621
- %vec.1 = shufflevector <8 x double > %insert , <8 x double > undef , <2 x i32 > <i32 2 , i32 3 >
1622
- %vec.2 = shufflevector <8 x double > %insert , <8 x double > undef , <2 x i32 > <i32 4 , i32 5 >
1623
- %vec.3 = shufflevector <8 x double > %insert , <8 x double > undef , <2 x i32 > <i32 6 , i32 7 >
1620
+ %vec.0 = shufflevector <8 x double > %insert , <8 x double > poison , <2 x i32 > <i32 0 , i32 1 >
1621
+ %vec.1 = shufflevector <8 x double > %insert , <8 x double > poison , <2 x i32 > <i32 2 , i32 3 >
1622
+ %vec.2 = shufflevector <8 x double > %insert , <8 x double > poison , <2 x i32 > <i32 4 , i32 5 >
1623
+ %vec.3 = shufflevector <8 x double > %insert , <8 x double > poison , <2 x i32 > <i32 6 , i32 7 >
1624
1624
store volatile <2 x double > %vec.0 , ptr addrspace (1 ) undef
1625
1625
store volatile <2 x double > %vec.1 , ptr addrspace (1 ) undef
1626
1626
store volatile <2 x double > %vec.2 , ptr addrspace (1 ) undef
@@ -1677,10 +1677,10 @@ define amdgpu_ps void @dyn_insertelement_v8f64_v_v_s(<8 x double> %vec, double %
1677
1677
; GFX11-NEXT: s_endpgm
1678
1678
entry:
1679
1679
%insert = insertelement <8 x double > %vec , double %val , i32 %idx
1680
- %vec.0 = shufflevector <8 x double > %insert , <8 x double > undef , <2 x i32 > <i32 0 , i32 1 >
1681
- %vec.1 = shufflevector <8 x double > %insert , <8 x double > undef , <2 x i32 > <i32 2 , i32 3 >
1682
- %vec.2 = shufflevector <8 x double > %insert , <8 x double > undef , <2 x i32 > <i32 4 , i32 5 >
1683
- %vec.3 = shufflevector <8 x double > %insert , <8 x double > undef , <2 x i32 > <i32 6 , i32 7 >
1680
+ %vec.0 = shufflevector <8 x double > %insert , <8 x double > poison , <2 x i32 > <i32 0 , i32 1 >
1681
+ %vec.1 = shufflevector <8 x double > %insert , <8 x double > poison , <2 x i32 > <i32 2 , i32 3 >
1682
+ %vec.2 = shufflevector <8 x double > %insert , <8 x double > poison , <2 x i32 > <i32 4 , i32 5 >
1683
+ %vec.3 = shufflevector <8 x double > %insert , <8 x double > poison , <2 x i32 > <i32 6 , i32 7 >
1684
1684
store volatile <2 x double > %vec.0 , ptr addrspace (1 ) undef
1685
1685
store volatile <2 x double > %vec.1 , ptr addrspace (1 ) undef
1686
1686
store volatile <2 x double > %vec.2 , ptr addrspace (1 ) undef
@@ -1794,10 +1794,10 @@ define amdgpu_ps void @dyn_insertelement_v8f64_v_v_v(<8 x double> %vec, double %
1794
1794
; GFX11-NEXT: s_endpgm
1795
1795
entry:
1796
1796
%insert = insertelement <8 x double > %vec , double %val , i32 %idx
1797
- %vec.0 = shufflevector <8 x double > %insert , <8 x double > undef , <2 x i32 > <i32 0 , i32 1 >
1798
- %vec.1 = shufflevector <8 x double > %insert , <8 x double > undef , <2 x i32 > <i32 2 , i32 3 >
1799
- %vec.2 = shufflevector <8 x double > %insert , <8 x double > undef , <2 x i32 > <i32 4 , i32 5 >
1800
- %vec.3 = shufflevector <8 x double > %insert , <8 x double > undef , <2 x i32 > <i32 6 , i32 7 >
1797
+ %vec.0 = shufflevector <8 x double > %insert , <8 x double > poison , <2 x i32 > <i32 0 , i32 1 >
1798
+ %vec.1 = shufflevector <8 x double > %insert , <8 x double > poison , <2 x i32 > <i32 2 , i32 3 >
1799
+ %vec.2 = shufflevector <8 x double > %insert , <8 x double > poison , <2 x i32 > <i32 4 , i32 5 >
1800
+ %vec.3 = shufflevector <8 x double > %insert , <8 x double > poison , <2 x i32 > <i32 6 , i32 7 >
1801
1801
store volatile <2 x double > %vec.0 , ptr addrspace (1 ) undef
1802
1802
store volatile <2 x double > %vec.1 , ptr addrspace (1 ) undef
1803
1803
store volatile <2 x double > %vec.2 , ptr addrspace (1 ) undef
@@ -2401,10 +2401,10 @@ define amdgpu_ps void @dyn_insertelement_v8f64_s_s_s_add_1(<8 x double> inreg %v
2401
2401
entry:
2402
2402
%idx.add = add i32 %idx , 1
2403
2403
%insert = insertelement <8 x double > %vec , double %val , i32 %idx.add
2404
- %vec.0 = shufflevector <8 x double > %insert , <8 x double > undef , <2 x i32 > <i32 0 , i32 1 >
2405
- %vec.1 = shufflevector <8 x double > %insert , <8 x double > undef , <2 x i32 > <i32 2 , i32 3 >
2406
- %vec.2 = shufflevector <8 x double > %insert , <8 x double > undef , <2 x i32 > <i32 4 , i32 5 >
2407
- %vec.3 = shufflevector <8 x double > %insert , <8 x double > undef , <2 x i32 > <i32 6 , i32 7 >
2404
+ %vec.0 = shufflevector <8 x double > %insert , <8 x double > poison , <2 x i32 > <i32 0 , i32 1 >
2405
+ %vec.1 = shufflevector <8 x double > %insert , <8 x double > poison , <2 x i32 > <i32 2 , i32 3 >
2406
+ %vec.2 = shufflevector <8 x double > %insert , <8 x double > poison , <2 x i32 > <i32 4 , i32 5 >
2407
+ %vec.3 = shufflevector <8 x double > %insert , <8 x double > poison , <2 x i32 > <i32 6 , i32 7 >
2408
2408
store volatile <2 x double > %vec.0 , ptr addrspace (1 ) undef
2409
2409
store volatile <2 x double > %vec.1 , ptr addrspace (1 ) undef
2410
2410
store volatile <2 x double > %vec.2 , ptr addrspace (1 ) undef
@@ -2525,10 +2525,10 @@ define amdgpu_ps void @dyn_insertelement_v8f64_v_v_v_add_1(<8 x double> %vec, do
2525
2525
entry:
2526
2526
%idx.add = add i32 %idx , 1
2527
2527
%insert = insertelement <8 x double > %vec , double %val , i32 %idx.add
2528
- %vec.0 = shufflevector <8 x double > %insert , <8 x double > undef , <2 x i32 > <i32 0 , i32 1 >
2529
- %vec.1 = shufflevector <8 x double > %insert , <8 x double > undef , <2 x i32 > <i32 2 , i32 3 >
2530
- %vec.2 = shufflevector <8 x double > %insert , <8 x double > undef , <2 x i32 > <i32 4 , i32 5 >
2531
- %vec.3 = shufflevector <8 x double > %insert , <8 x double > undef , <2 x i32 > <i32 6 , i32 7 >
2528
+ %vec.0 = shufflevector <8 x double > %insert , <8 x double > poison , <2 x i32 > <i32 0 , i32 1 >
2529
+ %vec.1 = shufflevector <8 x double > %insert , <8 x double > poison , <2 x i32 > <i32 2 , i32 3 >
2530
+ %vec.2 = shufflevector <8 x double > %insert , <8 x double > poison , <2 x i32 > <i32 4 , i32 5 >
2531
+ %vec.3 = shufflevector <8 x double > %insert , <8 x double > poison , <2 x i32 > <i32 6 , i32 7 >
2532
2532
store volatile <2 x double > %vec.0 , ptr addrspace (1 ) undef
2533
2533
store volatile <2 x double > %vec.1 , ptr addrspace (1 ) undef
2534
2534
store volatile <2 x double > %vec.2 , ptr addrspace (1 ) undef
0 commit comments