Skip to content

Commit a361f6f

Browse files
committed
Add back tests with no codegen diffs, from files that contained a subset of tests with codegen diffs
1 parent ba3c22e commit a361f6f

28 files changed

+824
-2654
lines changed

llvm/test/CodeGen/RISCV/rvv/fixed-vectors-masked-gather.ll

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12850,10 +12850,8 @@ define <4 x i32> @mgather_broadcast_load_unmasked(ptr %base) {
1285012850
; CHECK-NEXT: vsetivli zero, 4, e32, m1, ta, ma
1285112851
; CHECK-NEXT: vlse32.v v8, (a0), zero
1285212852
; CHECK-NEXT: ret
12853-
%head = insertelement <4 x i1> poison, i1 true, i32 0
12854-
%allones = shufflevector <4 x i1> %head, <4 x i1> poison, <4 x i32> zeroinitializer
1285512853
%ptrs = getelementptr inbounds i8, ptr %base, <4 x i32> zeroinitializer
12856-
%v = call <4 x i32> @llvm.masked.gather.v4i32.v4p0(<4 x ptr> %ptrs, i32 4, <4 x i1> %allones, <4 x i32> poison)
12854+
%v = call <4 x i32> @llvm.masked.gather.v4i32.v4p0(<4 x ptr> %ptrs, i32 4, <4 x i1> splat (i1 true), <4 x i32> poison)
1285712855
ret <4 x i32> %v
1285812856
}
1285912857

@@ -12864,11 +12862,9 @@ define <4 x i32> @mgather_broadcast_load_unmasked2(ptr %base) {
1286412862
; CHECK-NEXT: vsetivli zero, 4, e32, m1, ta, ma
1286512863
; CHECK-NEXT: vlse32.v v8, (a0), zero
1286612864
; CHECK-NEXT: ret
12867-
%head = insertelement <4 x i1> poison, i1 true, i32 0
12868-
%allones = shufflevector <4 x i1> %head, <4 x i1> poison, <4 x i32> zeroinitializer
1286912865
%ptrhead = insertelement <4 x ptr> poison, ptr %base, i32 0
1287012866
%ptrs = shufflevector <4 x ptr> %ptrhead, <4 x ptr> poison, <4 x i32> zeroinitializer
12871-
%v = call <4 x i32> @llvm.masked.gather.v4i32.v4p0(<4 x ptr> %ptrs, i32 4, <4 x i1> %allones, <4 x i32> poison)
12867+
%v = call <4 x i32> @llvm.masked.gather.v4i32.v4p0(<4 x ptr> %ptrs, i32 4, <4 x i1> splat (i1 true), <4 x i32> poison)
1287212868
ret <4 x i32> %v
1287312869
}
1287412870

@@ -12878,8 +12874,6 @@ define <4 x i32> @mgather_broadcast_load_masked(ptr %base, <4 x i1> %m) {
1287812874
; CHECK-NEXT: vsetivli zero, 4, e32, m1, ta, ma
1287912875
; CHECK-NEXT: vlse32.v v8, (a0), zero, v0.t
1288012876
; CHECK-NEXT: ret
12881-
%head = insertelement <4 x i1> poison, i1 true, i32 0
12882-
%allones = shufflevector <4 x i1> %head, <4 x i1> poison, <4 x i32> zeroinitializer
1288312877
%ptrs = getelementptr inbounds i8, ptr %base, <4 x i32> zeroinitializer
1288412878
%v = call <4 x i32> @llvm.masked.gather.v4i32.v4p0(<4 x ptr> %ptrs, i32 4, <4 x i1> %m, <4 x i32> poison)
1288512879
ret <4 x i32> %v

llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vadd-vp.ll

Lines changed: 74 additions & 258 deletions
Large diffs are not rendered by default.

llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vmax-vp.ll

Lines changed: 35 additions & 105 deletions
Large diffs are not rendered by default.

llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vmaxu-vp.ll

Lines changed: 35 additions & 105 deletions
Large diffs are not rendered by default.

llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vmin-vp.ll

Lines changed: 35 additions & 105 deletions
Large diffs are not rendered by default.

llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vminu-vp.ll

Lines changed: 35 additions & 105 deletions
Large diffs are not rendered by default.

llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vsadd-vp.ll

Lines changed: 74 additions & 258 deletions
Large diffs are not rendered by default.

llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vsaddu-vp.ll

Lines changed: 74 additions & 258 deletions
Large diffs are not rendered by default.

llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vssub-vp.ll

Lines changed: 74 additions & 258 deletions
Large diffs are not rendered by default.

llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vssubu-vp.ll

Lines changed: 74 additions & 258 deletions
Large diffs are not rendered by default.

llvm/test/CodeGen/RISCV/rvv/fmaximum-vp.ll

Lines changed: 14 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,7 @@ define <vscale x 1 x half> @vfmax_vv_nxv1f16_unmasked(<vscale x 1 x half> %va, <
7676
; ZVFHMIN-NEXT: vsetvli a0, zero, e16, mf4, ta, ma
7777
; ZVFHMIN-NEXT: vfncvt.f.f.w v8, v9
7878
; ZVFHMIN-NEXT: ret
79-
%head = insertelement <vscale x 1 x i1> poison, i1 true, i32 0
80-
%m = shufflevector <vscale x 1 x i1> %head, <vscale x 1 x i1> poison, <vscale x 1 x i32> zeroinitializer
81-
%v = call <vscale x 1 x half> @llvm.vp.maximum.nxv1f16(<vscale x 1 x half> %va, <vscale x 1 x half> %vb, <vscale x 1 x i1> %m, i32 %evl)
79+
%v = call <vscale x 1 x half> @llvm.vp.maximum.nxv1f16(<vscale x 1 x half> %va, <vscale x 1 x half> %vb, <vscale x 1 x i1> splat (i1 true), i32 %evl)
8280
ret <vscale x 1 x half> %v
8381
}
8482

@@ -150,9 +148,7 @@ define <vscale x 2 x half> @vfmax_vv_nxv2f16_unmasked(<vscale x 2 x half> %va, <
150148
; ZVFHMIN-NEXT: vsetvli a0, zero, e16, mf2, ta, ma
151149
; ZVFHMIN-NEXT: vfncvt.f.f.w v8, v9
152150
; ZVFHMIN-NEXT: ret
153-
%head = insertelement <vscale x 2 x i1> poison, i1 true, i32 0
154-
%m = shufflevector <vscale x 2 x i1> %head, <vscale x 2 x i1> poison, <vscale x 2 x i32> zeroinitializer
155-
%v = call <vscale x 2 x half> @llvm.vp.maximum.nxv2f16(<vscale x 2 x half> %va, <vscale x 2 x half> %vb, <vscale x 2 x i1> %m, i32 %evl)
151+
%v = call <vscale x 2 x half> @llvm.vp.maximum.nxv2f16(<vscale x 2 x half> %va, <vscale x 2 x half> %vb, <vscale x 2 x i1> splat (i1 true), i32 %evl)
156152
ret <vscale x 2 x half> %v
157153
}
158154

@@ -226,9 +222,7 @@ define <vscale x 4 x half> @vfmax_vv_nxv4f16_unmasked(<vscale x 4 x half> %va, <
226222
; ZVFHMIN-NEXT: vsetvli a0, zero, e16, m1, ta, ma
227223
; ZVFHMIN-NEXT: vfncvt.f.f.w v8, v10
228224
; ZVFHMIN-NEXT: ret
229-
%head = insertelement <vscale x 4 x i1> poison, i1 true, i32 0
230-
%m = shufflevector <vscale x 4 x i1> %head, <vscale x 4 x i1> poison, <vscale x 4 x i32> zeroinitializer
231-
%v = call <vscale x 4 x half> @llvm.vp.maximum.nxv4f16(<vscale x 4 x half> %va, <vscale x 4 x half> %vb, <vscale x 4 x i1> %m, i32 %evl)
225+
%v = call <vscale x 4 x half> @llvm.vp.maximum.nxv4f16(<vscale x 4 x half> %va, <vscale x 4 x half> %vb, <vscale x 4 x i1> splat (i1 true), i32 %evl)
232226
ret <vscale x 4 x half> %v
233227
}
234228

@@ -304,9 +298,7 @@ define <vscale x 8 x half> @vfmax_vv_nxv8f16_unmasked(<vscale x 8 x half> %va, <
304298
; ZVFHMIN-NEXT: vsetvli a0, zero, e16, m2, ta, ma
305299
; ZVFHMIN-NEXT: vfncvt.f.f.w v8, v12
306300
; ZVFHMIN-NEXT: ret
307-
%head = insertelement <vscale x 8 x i1> poison, i1 true, i32 0
308-
%m = shufflevector <vscale x 8 x i1> %head, <vscale x 8 x i1> poison, <vscale x 8 x i32> zeroinitializer
309-
%v = call <vscale x 8 x half> @llvm.vp.maximum.nxv8f16(<vscale x 8 x half> %va, <vscale x 8 x half> %vb, <vscale x 8 x i1> %m, i32 %evl)
301+
%v = call <vscale x 8 x half> @llvm.vp.maximum.nxv8f16(<vscale x 8 x half> %va, <vscale x 8 x half> %vb, <vscale x 8 x i1> splat (i1 true), i32 %evl)
310302
ret <vscale x 8 x half> %v
311303
}
312304

@@ -408,9 +400,7 @@ define <vscale x 16 x half> @vfmax_vv_nxv16f16_unmasked(<vscale x 16 x half> %va
408400
; ZVFHMIN-NEXT: add sp, sp, a0
409401
; ZVFHMIN-NEXT: addi sp, sp, 16
410402
; ZVFHMIN-NEXT: ret
411-
%head = insertelement <vscale x 16 x i1> poison, i1 true, i32 0
412-
%m = shufflevector <vscale x 16 x i1> %head, <vscale x 16 x i1> poison, <vscale x 16 x i32> zeroinitializer
413-
%v = call <vscale x 16 x half> @llvm.vp.maximum.nxv16f16(<vscale x 16 x half> %va, <vscale x 16 x half> %vb, <vscale x 16 x i1> %m, i32 %evl)
403+
%v = call <vscale x 16 x half> @llvm.vp.maximum.nxv16f16(<vscale x 16 x half> %va, <vscale x 16 x half> %vb, <vscale x 16 x i1> splat (i1 true), i32 %evl)
414404
ret <vscale x 16 x half> %v
415405
}
416406

@@ -751,9 +741,7 @@ define <vscale x 1 x float> @vfmax_vv_nxv1f32_unmasked(<vscale x 1 x float> %va,
751741
; CHECK-NEXT: vmerge.vvm v8, v9, v8, v0
752742
; CHECK-NEXT: vfmax.vv v8, v8, v11
753743
; CHECK-NEXT: ret
754-
%head = insertelement <vscale x 1 x i1> poison, i1 true, i32 0
755-
%m = shufflevector <vscale x 1 x i1> %head, <vscale x 1 x i1> poison, <vscale x 1 x i32> zeroinitializer
756-
%v = call <vscale x 1 x float> @llvm.vp.maximum.nxv1f32(<vscale x 1 x float> %va, <vscale x 1 x float> %vb, <vscale x 1 x i1> %m, i32 %evl)
744+
%v = call <vscale x 1 x float> @llvm.vp.maximum.nxv1f32(<vscale x 1 x float> %va, <vscale x 1 x float> %vb, <vscale x 1 x i1> splat (i1 true), i32 %evl)
757745
ret <vscale x 1 x float> %v
758746
}
759747

@@ -787,9 +775,7 @@ define <vscale x 2 x float> @vfmax_vv_nxv2f32_unmasked(<vscale x 2 x float> %va,
787775
; CHECK-NEXT: vmerge.vvm v8, v9, v8, v0
788776
; CHECK-NEXT: vfmax.vv v8, v8, v11
789777
; CHECK-NEXT: ret
790-
%head = insertelement <vscale x 2 x i1> poison, i1 true, i32 0
791-
%m = shufflevector <vscale x 2 x i1> %head, <vscale x 2 x i1> poison, <vscale x 2 x i32> zeroinitializer
792-
%v = call <vscale x 2 x float> @llvm.vp.maximum.nxv2f32(<vscale x 2 x float> %va, <vscale x 2 x float> %vb, <vscale x 2 x i1> %m, i32 %evl)
778+
%v = call <vscale x 2 x float> @llvm.vp.maximum.nxv2f32(<vscale x 2 x float> %va, <vscale x 2 x float> %vb, <vscale x 2 x i1> splat (i1 true), i32 %evl)
793779
ret <vscale x 2 x float> %v
794780
}
795781

@@ -825,9 +811,7 @@ define <vscale x 4 x float> @vfmax_vv_nxv4f32_unmasked(<vscale x 4 x float> %va,
825811
; CHECK-NEXT: vmerge.vvm v8, v10, v8, v0
826812
; CHECK-NEXT: vfmax.vv v8, v8, v14
827813
; CHECK-NEXT: ret
828-
%head = insertelement <vscale x 4 x i1> poison, i1 true, i32 0
829-
%m = shufflevector <vscale x 4 x i1> %head, <vscale x 4 x i1> poison, <vscale x 4 x i32> zeroinitializer
830-
%v = call <vscale x 4 x float> @llvm.vp.maximum.nxv4f32(<vscale x 4 x float> %va, <vscale x 4 x float> %vb, <vscale x 4 x i1> %m, i32 %evl)
814+
%v = call <vscale x 4 x float> @llvm.vp.maximum.nxv4f32(<vscale x 4 x float> %va, <vscale x 4 x float> %vb, <vscale x 4 x i1> splat (i1 true), i32 %evl)
831815
ret <vscale x 4 x float> %v
832816
}
833817

@@ -863,9 +847,7 @@ define <vscale x 8 x float> @vfmax_vv_nxv8f32_unmasked(<vscale x 8 x float> %va,
863847
; CHECK-NEXT: vmerge.vvm v8, v12, v8, v0
864848
; CHECK-NEXT: vfmax.vv v8, v8, v20
865849
; CHECK-NEXT: ret
866-
%head = insertelement <vscale x 8 x i1> poison, i1 true, i32 0
867-
%m = shufflevector <vscale x 8 x i1> %head, <vscale x 8 x i1> poison, <vscale x 8 x i32> zeroinitializer
868-
%v = call <vscale x 8 x float> @llvm.vp.maximum.nxv8f32(<vscale x 8 x float> %va, <vscale x 8 x float> %vb, <vscale x 8 x i1> %m, i32 %evl)
850+
%v = call <vscale x 8 x float> @llvm.vp.maximum.nxv8f32(<vscale x 8 x float> %va, <vscale x 8 x float> %vb, <vscale x 8 x i1> splat (i1 true), i32 %evl)
869851
ret <vscale x 8 x float> %v
870852
}
871853

@@ -899,9 +881,7 @@ define <vscale x 1 x double> @vfmax_vv_nxv1f64_unmasked(<vscale x 1 x double> %v
899881
; CHECK-NEXT: vmerge.vvm v8, v9, v8, v0
900882
; CHECK-NEXT: vfmax.vv v8, v8, v11
901883
; CHECK-NEXT: ret
902-
%head = insertelement <vscale x 1 x i1> poison, i1 true, i32 0
903-
%m = shufflevector <vscale x 1 x i1> %head, <vscale x 1 x i1> poison, <vscale x 1 x i32> zeroinitializer
904-
%v = call <vscale x 1 x double> @llvm.vp.maximum.nxv1f64(<vscale x 1 x double> %va, <vscale x 1 x double> %vb, <vscale x 1 x i1> %m, i32 %evl)
884+
%v = call <vscale x 1 x double> @llvm.vp.maximum.nxv1f64(<vscale x 1 x double> %va, <vscale x 1 x double> %vb, <vscale x 1 x i1> splat (i1 true), i32 %evl)
905885
ret <vscale x 1 x double> %v
906886
}
907887

@@ -937,9 +917,7 @@ define <vscale x 2 x double> @vfmax_vv_nxv2f64_unmasked(<vscale x 2 x double> %v
937917
; CHECK-NEXT: vmerge.vvm v8, v10, v8, v0
938918
; CHECK-NEXT: vfmax.vv v8, v8, v14
939919
; CHECK-NEXT: ret
940-
%head = insertelement <vscale x 2 x i1> poison, i1 true, i32 0
941-
%m = shufflevector <vscale x 2 x i1> %head, <vscale x 2 x i1> poison, <vscale x 2 x i32> zeroinitializer
942-
%v = call <vscale x 2 x double> @llvm.vp.maximum.nxv2f64(<vscale x 2 x double> %va, <vscale x 2 x double> %vb, <vscale x 2 x i1> %m, i32 %evl)
920+
%v = call <vscale x 2 x double> @llvm.vp.maximum.nxv2f64(<vscale x 2 x double> %va, <vscale x 2 x double> %vb, <vscale x 2 x i1> splat (i1 true), i32 %evl)
943921
ret <vscale x 2 x double> %v
944922
}
945923

@@ -975,9 +953,7 @@ define <vscale x 4 x double> @vfmax_vv_nxv4f64_unmasked(<vscale x 4 x double> %v
975953
; CHECK-NEXT: vmerge.vvm v8, v12, v8, v0
976954
; CHECK-NEXT: vfmax.vv v8, v8, v20
977955
; CHECK-NEXT: ret
978-
%head = insertelement <vscale x 4 x i1> poison, i1 true, i32 0
979-
%m = shufflevector <vscale x 4 x i1> %head, <vscale x 4 x i1> poison, <vscale x 4 x i32> zeroinitializer
980-
%v = call <vscale x 4 x double> @llvm.vp.maximum.nxv4f64(<vscale x 4 x double> %va, <vscale x 4 x double> %vb, <vscale x 4 x i1> %m, i32 %evl)
956+
%v = call <vscale x 4 x double> @llvm.vp.maximum.nxv4f64(<vscale x 4 x double> %va, <vscale x 4 x double> %vb, <vscale x 4 x i1> splat (i1 true), i32 %evl)
981957
ret <vscale x 4 x double> %v
982958
}
983959

@@ -1026,9 +1002,7 @@ define <vscale x 8 x double> @vfmax_vv_nxv8f64_unmasked(<vscale x 8 x double> %v
10261002
; CHECK-NEXT: vmerge.vvm v8, v16, v8, v0
10271003
; CHECK-NEXT: vfmax.vv v8, v8, v24
10281004
; CHECK-NEXT: ret
1029-
%head = insertelement <vscale x 8 x i1> poison, i1 true, i32 0
1030-
%m = shufflevector <vscale x 8 x i1> %head, <vscale x 8 x i1> poison, <vscale x 8 x i32> zeroinitializer
1031-
%v = call <vscale x 8 x double> @llvm.vp.maximum.nxv8f64(<vscale x 8 x double> %va, <vscale x 8 x double> %vb, <vscale x 8 x i1> %m, i32 %evl)
1005+
%v = call <vscale x 8 x double> @llvm.vp.maximum.nxv8f64(<vscale x 8 x double> %va, <vscale x 8 x double> %vb, <vscale x 8 x i1> splat (i1 true), i32 %evl)
10321006
ret <vscale x 8 x double> %v
10331007
}
10341008

@@ -1238,8 +1212,6 @@ define <vscale x 16 x double> @vfmax_vv_nxv16f64_unmasked(<vscale x 16 x double>
12381212
; CHECK-NEXT: add sp, sp, a0
12391213
; CHECK-NEXT: addi sp, sp, 16
12401214
; CHECK-NEXT: ret
1241-
%head = insertelement <vscale x 16 x i1> poison, i1 true, i32 0
1242-
%m = shufflevector <vscale x 16 x i1> %head, <vscale x 16 x i1> poison, <vscale x 16 x i32> zeroinitializer
1243-
%v = call <vscale x 16 x double> @llvm.vp.maximum.nxv16f64(<vscale x 16 x double> %va, <vscale x 16 x double> %vb, <vscale x 16 x i1> %m, i32 %evl)
1215+
%v = call <vscale x 16 x double> @llvm.vp.maximum.nxv16f64(<vscale x 16 x double> %va, <vscale x 16 x double> %vb, <vscale x 16 x i1> splat (i1 true), i32 %evl)
12441216
ret <vscale x 16 x double> %v
12451217
}

0 commit comments

Comments
 (0)