You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: llvm/test/CodeGen/RISCV/rvv/vp-splice.ll
+30Lines changed: 30 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -286,3 +286,33 @@ define <vscale x 2 x float> @test_vp_splice_nxv2f32_masked(<vscale x 2 x float>
286
286
%v = call <vscale x 2 x float> @llvm.experimental.vp.splice.nxv2f32(<vscale x 2 x float> %va, <vscale x 2 x float> %vb, i325, <vscale x 2 x i1> %mask, i32%evla, i32%evlb)
287
287
ret <vscale x 2 x float> %v
288
288
}
289
+
290
+
define <vscale x 2 x i32> @test_vp_splice_nxv2i32_with_firstelt(i32%first, <vscale x 2 x i32> %vb, <vscale x 2 x i1> %mask, i32zeroext%evl) {
%va = insertelement <vscale x 2 x i32> poison, i32%first, i320
301
+
%v = call <vscale x 2 x i32> @llvm.experimental.vp.splice.nxv2i32(<vscale x 2 x i32> %va, <vscale x 2 x i32> %vb, i320, <vscale x 2 x i1> %mask, i321, i32%evl)
302
+
ret <vscale x 2 x i32> %v
303
+
}
304
+
305
+
define <vscale x 2 x float> @test_vp_splice_nxv2f32_with_firstelt(float%first, <vscale x 2 x float> %vb, <vscale x 2 x i1> %mask, i32zeroext%evl) {
%va = insertelement <vscale x 2 x float> poison, float%first, i320
316
+
%v = call <vscale x 2 x float> @llvm.experimental.vp.splice.nxv2f32(<vscale x 2 x float> %va, <vscale x 2 x float> %vb, i320, <vscale x 2 x i1> %mask, i321, i32%evl)
0 commit comments