Expand Up
@@ -24,8 +24,8 @@ define <vscale x 1 x i8> @vnmsub_vx_nxv1i8(<vscale x 1 x i8> %va, <vscale x 1 x
; CHECK-NEXT: vsetvli a1, zero, e8, mf8, ta, mu
; CHECK-NEXT: vnmsub.vx v8, a0, v9
; CHECK-NEXT: ret
%head = insertelement <vscale x 1 x i8 > undef , i8 %c , i32 0
%splat = shufflevector <vscale x 1 x i8 > %head , <vscale x 1 x i8 > undef , <vscale x 1 x i32 > zeroinitializer
%head = insertelement <vscale x 1 x i8 > poison , i8 %c , i32 0
%splat = shufflevector <vscale x 1 x i8 > %head , <vscale x 1 x i8 > poison , <vscale x 1 x i32 > zeroinitializer
%x = mul <vscale x 1 x i8 > %va , %splat
%y = sub <vscale x 1 x i8 > %vb , %x
ret <vscale x 1 x i8 > %y
Expand All
@@ -48,8 +48,8 @@ define <vscale x 2 x i8> @vnmsub_vx_nxv2i8(<vscale x 2 x i8> %va, <vscale x 2 x
; CHECK-NEXT: vsetvli a1, zero, e8, mf4, ta, mu
; CHECK-NEXT: vnmsac.vx v8, a0, v9
; CHECK-NEXT: ret
%head = insertelement <vscale x 2 x i8 > undef , i8 %c , i32 0
%splat = shufflevector <vscale x 2 x i8 > %head , <vscale x 2 x i8 > undef , <vscale x 2 x i32 > zeroinitializer
%head = insertelement <vscale x 2 x i8 > poison , i8 %c , i32 0
%splat = shufflevector <vscale x 2 x i8 > %head , <vscale x 2 x i8 > poison , <vscale x 2 x i32 > zeroinitializer
%x = mul <vscale x 2 x i8 > %vb , %splat
%y = sub <vscale x 2 x i8 > %va , %x
ret <vscale x 2 x i8 > %y
Expand All
@@ -72,8 +72,8 @@ define <vscale x 4 x i8> @vnmsub_vx_nxv4i8(<vscale x 4 x i8> %va, <vscale x 4 x
; CHECK-NEXT: vsetvli a1, zero, e8, mf2, ta, mu
; CHECK-NEXT: vnmsub.vx v8, a0, v9
; CHECK-NEXT: ret
%head = insertelement <vscale x 4 x i8 > undef , i8 %c , i32 0
%splat = shufflevector <vscale x 4 x i8 > %head , <vscale x 4 x i8 > undef , <vscale x 4 x i32 > zeroinitializer
%head = insertelement <vscale x 4 x i8 > poison , i8 %c , i32 0
%splat = shufflevector <vscale x 4 x i8 > %head , <vscale x 4 x i8 > poison , <vscale x 4 x i32 > zeroinitializer
%x = mul <vscale x 4 x i8 > %va , %splat
%y = sub <vscale x 4 x i8 > %vb , %x
ret <vscale x 4 x i8 > %y
Expand All
@@ -96,8 +96,8 @@ define <vscale x 8 x i8> @vnmsub_vx_nxv8i8(<vscale x 8 x i8> %va, <vscale x 8 x
; CHECK-NEXT: vsetvli a1, zero, e8, m1, ta, mu
; CHECK-NEXT: vnmsac.vx v8, a0, v9
; CHECK-NEXT: ret
%head = insertelement <vscale x 8 x i8 > undef , i8 %c , i32 0
%splat = shufflevector <vscale x 8 x i8 > %head , <vscale x 8 x i8 > undef , <vscale x 8 x i32 > zeroinitializer
%head = insertelement <vscale x 8 x i8 > poison , i8 %c , i32 0
%splat = shufflevector <vscale x 8 x i8 > %head , <vscale x 8 x i8 > poison , <vscale x 8 x i32 > zeroinitializer
%x = mul <vscale x 8 x i8 > %vb , %splat
%y = sub <vscale x 8 x i8 > %va , %x
ret <vscale x 8 x i8 > %y
Expand All
@@ -120,8 +120,8 @@ define <vscale x 16 x i8> @vnmsub_vx_nxv16i8(<vscale x 16 x i8> %va, <vscale x 1
; CHECK-NEXT: vsetvli a1, zero, e8, m2, ta, mu
; CHECK-NEXT: vnmsub.vx v8, a0, v10
; CHECK-NEXT: ret
%head = insertelement <vscale x 16 x i8 > undef , i8 %c , i32 0
%splat = shufflevector <vscale x 16 x i8 > %head , <vscale x 16 x i8 > undef , <vscale x 16 x i32 > zeroinitializer
%head = insertelement <vscale x 16 x i8 > poison , i8 %c , i32 0
%splat = shufflevector <vscale x 16 x i8 > %head , <vscale x 16 x i8 > poison , <vscale x 16 x i32 > zeroinitializer
%x = mul <vscale x 16 x i8 > %va , %splat
%y = sub <vscale x 16 x i8 > %vb , %x
ret <vscale x 16 x i8 > %y
Expand All
@@ -144,8 +144,8 @@ define <vscale x 32 x i8> @vnmsub_vx_nxv32i8(<vscale x 32 x i8> %va, <vscale x 3
; CHECK-NEXT: vsetvli a1, zero, e8, m4, ta, mu
; CHECK-NEXT: vnmsac.vx v8, a0, v12
; CHECK-NEXT: ret
%head = insertelement <vscale x 32 x i8 > undef , i8 %c , i32 0
%splat = shufflevector <vscale x 32 x i8 > %head , <vscale x 32 x i8 > undef , <vscale x 32 x i32 > zeroinitializer
%head = insertelement <vscale x 32 x i8 > poison , i8 %c , i32 0
%splat = shufflevector <vscale x 32 x i8 > %head , <vscale x 32 x i8 > poison , <vscale x 32 x i32 > zeroinitializer
%x = mul <vscale x 32 x i8 > %vb , %splat
%y = sub <vscale x 32 x i8 > %va , %x
ret <vscale x 32 x i8 > %y
Expand All
@@ -169,8 +169,8 @@ define <vscale x 64 x i8> @vnmsub_vx_nxv64i8(<vscale x 64 x i8> %va, <vscale x 6
; CHECK-NEXT: vsetvli a1, zero, e8, m8, ta, mu
; CHECK-NEXT: vnmsac.vx v8, a0, v16
; CHECK-NEXT: ret
%head = insertelement <vscale x 64 x i8 > undef , i8 %c , i32 0
%splat = shufflevector <vscale x 64 x i8 > %head , <vscale x 64 x i8 > undef , <vscale x 64 x i32 > zeroinitializer
%head = insertelement <vscale x 64 x i8 > poison , i8 %c , i32 0
%splat = shufflevector <vscale x 64 x i8 > %head , <vscale x 64 x i8 > poison , <vscale x 64 x i32 > zeroinitializer
%x = mul <vscale x 64 x i8 > %vb , %splat
%y = sub <vscale x 64 x i8 > %va , %x
ret <vscale x 64 x i8 > %y
Expand All
@@ -193,8 +193,8 @@ define <vscale x 1 x i16> @vnmsub_vx_nxv1i16(<vscale x 1 x i16> %va, <vscale x 1
; CHECK-NEXT: vsetvli a1, zero, e16, mf4, ta, mu
; CHECK-NEXT: vnmsub.vx v8, a0, v9
; CHECK-NEXT: ret
%head = insertelement <vscale x 1 x i16 > undef , i16 %c , i32 0
%splat = shufflevector <vscale x 1 x i16 > %head , <vscale x 1 x i16 > undef , <vscale x 1 x i32 > zeroinitializer
%head = insertelement <vscale x 1 x i16 > poison , i16 %c , i32 0
%splat = shufflevector <vscale x 1 x i16 > %head , <vscale x 1 x i16 > poison , <vscale x 1 x i32 > zeroinitializer
%x = mul <vscale x 1 x i16 > %va , %splat
%y = sub <vscale x 1 x i16 > %vb , %x
ret <vscale x 1 x i16 > %y
Expand All
@@ -217,8 +217,8 @@ define <vscale x 2 x i16> @vnmsub_vx_nxv2i16(<vscale x 2 x i16> %va, <vscale x 2
; CHECK-NEXT: vsetvli a1, zero, e16, mf2, ta, mu
; CHECK-NEXT: vnmsac.vx v8, a0, v9
; CHECK-NEXT: ret
%head = insertelement <vscale x 2 x i16 > undef , i16 %c , i32 0
%splat = shufflevector <vscale x 2 x i16 > %head , <vscale x 2 x i16 > undef , <vscale x 2 x i32 > zeroinitializer
%head = insertelement <vscale x 2 x i16 > poison , i16 %c , i32 0
%splat = shufflevector <vscale x 2 x i16 > %head , <vscale x 2 x i16 > poison , <vscale x 2 x i32 > zeroinitializer
%x = mul <vscale x 2 x i16 > %vb , %splat
%y = sub <vscale x 2 x i16 > %va , %x
ret <vscale x 2 x i16 > %y
Expand All
@@ -241,8 +241,8 @@ define <vscale x 4 x i16> @vnmsub_vx_nxv4i16(<vscale x 4 x i16> %va, <vscale x 4
; CHECK-NEXT: vsetvli a1, zero, e16, m1, ta, mu
; CHECK-NEXT: vnmsub.vx v8, a0, v9
; CHECK-NEXT: ret
%head = insertelement <vscale x 4 x i16 > undef , i16 %c , i32 0
%splat = shufflevector <vscale x 4 x i16 > %head , <vscale x 4 x i16 > undef , <vscale x 4 x i32 > zeroinitializer
%head = insertelement <vscale x 4 x i16 > poison , i16 %c , i32 0
%splat = shufflevector <vscale x 4 x i16 > %head , <vscale x 4 x i16 > poison , <vscale x 4 x i32 > zeroinitializer
%x = mul <vscale x 4 x i16 > %va , %splat
%y = sub <vscale x 4 x i16 > %vb , %x
ret <vscale x 4 x i16 > %y
Expand All
@@ -265,8 +265,8 @@ define <vscale x 8 x i16> @vnmsub_vx_nxv8i16(<vscale x 8 x i16> %va, <vscale x 8
; CHECK-NEXT: vsetvli a1, zero, e16, m2, ta, mu
; CHECK-NEXT: vnmsac.vx v8, a0, v10
; CHECK-NEXT: ret
%head = insertelement <vscale x 8 x i16 > undef , i16 %c , i32 0
%splat = shufflevector <vscale x 8 x i16 > %head , <vscale x 8 x i16 > undef , <vscale x 8 x i32 > zeroinitializer
%head = insertelement <vscale x 8 x i16 > poison , i16 %c , i32 0
%splat = shufflevector <vscale x 8 x i16 > %head , <vscale x 8 x i16 > poison , <vscale x 8 x i32 > zeroinitializer
%x = mul <vscale x 8 x i16 > %vb , %splat
%y = sub <vscale x 8 x i16 > %va , %x
ret <vscale x 8 x i16 > %y
Expand All
@@ -289,8 +289,8 @@ define <vscale x 16 x i16> @vnmsub_vx_nxv16i16(<vscale x 16 x i16> %va, <vscale
; CHECK-NEXT: vsetvli a1, zero, e16, m4, ta, mu
; CHECK-NEXT: vnmsub.vx v8, a0, v12
; CHECK-NEXT: ret
%head = insertelement <vscale x 16 x i16 > undef , i16 %c , i32 0
%splat = shufflevector <vscale x 16 x i16 > %head , <vscale x 16 x i16 > undef , <vscale x 16 x i32 > zeroinitializer
%head = insertelement <vscale x 16 x i16 > poison , i16 %c , i32 0
%splat = shufflevector <vscale x 16 x i16 > %head , <vscale x 16 x i16 > poison , <vscale x 16 x i32 > zeroinitializer
%x = mul <vscale x 16 x i16 > %va , %splat
%y = sub <vscale x 16 x i16 > %vb , %x
ret <vscale x 16 x i16 > %y
Expand All
@@ -314,8 +314,8 @@ define <vscale x 32 x i16> @vnmsub_vx_nxv32i16(<vscale x 32 x i16> %va, <vscale
; CHECK-NEXT: vsetvli a1, zero, e16, m8, ta, mu
; CHECK-NEXT: vnmsac.vx v8, a0, v16
; CHECK-NEXT: ret
%head = insertelement <vscale x 32 x i16 > undef , i16 %c , i32 0
%splat = shufflevector <vscale x 32 x i16 > %head , <vscale x 32 x i16 > undef , <vscale x 32 x i32 > zeroinitializer
%head = insertelement <vscale x 32 x i16 > poison , i16 %c , i32 0
%splat = shufflevector <vscale x 32 x i16 > %head , <vscale x 32 x i16 > poison , <vscale x 32 x i32 > zeroinitializer
%x = mul <vscale x 32 x i16 > %vb , %splat
%y = sub <vscale x 32 x i16 > %va , %x
ret <vscale x 32 x i16 > %y
Expand All
@@ -338,8 +338,8 @@ define <vscale x 1 x i32> @vnmsub_vx_nxv1i32(<vscale x 1 x i32> %va, <vscale x 1
; CHECK-NEXT: vsetvli a1, zero, e32, mf2, ta, mu
; CHECK-NEXT: vnmsub.vx v8, a0, v9
; CHECK-NEXT: ret
%head = insertelement <vscale x 1 x i32 > undef , i32 %c , i32 0
%splat = shufflevector <vscale x 1 x i32 > %head , <vscale x 1 x i32 > undef , <vscale x 1 x i32 > zeroinitializer
%head = insertelement <vscale x 1 x i32 > poison , i32 %c , i32 0
%splat = shufflevector <vscale x 1 x i32 > %head , <vscale x 1 x i32 > poison , <vscale x 1 x i32 > zeroinitializer
%x = mul <vscale x 1 x i32 > %va , %splat
%y = sub <vscale x 1 x i32 > %vb , %x
ret <vscale x 1 x i32 > %y
Expand All
@@ -362,8 +362,8 @@ define <vscale x 2 x i32> @vnmsub_vx_nxv2i32(<vscale x 2 x i32> %va, <vscale x 2
; CHECK-NEXT: vsetvli a1, zero, e32, m1, ta, mu
; CHECK-NEXT: vnmsac.vx v8, a0, v9
; CHECK-NEXT: ret
%head = insertelement <vscale x 2 x i32 > undef , i32 %c , i32 0
%splat = shufflevector <vscale x 2 x i32 > %head , <vscale x 2 x i32 > undef , <vscale x 2 x i32 > zeroinitializer
%head = insertelement <vscale x 2 x i32 > poison , i32 %c , i32 0
%splat = shufflevector <vscale x 2 x i32 > %head , <vscale x 2 x i32 > poison , <vscale x 2 x i32 > zeroinitializer
%x = mul <vscale x 2 x i32 > %vb , %splat
%y = sub <vscale x 2 x i32 > %va , %x
ret <vscale x 2 x i32 > %y
Expand All
@@ -386,8 +386,8 @@ define <vscale x 4 x i32> @vnmsub_vx_nxv4i32(<vscale x 4 x i32> %va, <vscale x 4
; CHECK-NEXT: vsetvli a1, zero, e32, m2, ta, mu
; CHECK-NEXT: vnmsub.vx v8, a0, v10
; CHECK-NEXT: ret
%head = insertelement <vscale x 4 x i32 > undef , i32 %c , i32 0
%splat = shufflevector <vscale x 4 x i32 > %head , <vscale x 4 x i32 > undef , <vscale x 4 x i32 > zeroinitializer
%head = insertelement <vscale x 4 x i32 > poison , i32 %c , i32 0
%splat = shufflevector <vscale x 4 x i32 > %head , <vscale x 4 x i32 > poison , <vscale x 4 x i32 > zeroinitializer
%x = mul <vscale x 4 x i32 > %va , %splat
%y = sub <vscale x 4 x i32 > %vb , %x
ret <vscale x 4 x i32 > %y
Expand All
@@ -410,8 +410,8 @@ define <vscale x 8 x i32> @vnmsub_vx_nxv8i32(<vscale x 8 x i32> %va, <vscale x 8
; CHECK-NEXT: vsetvli a1, zero, e32, m4, ta, mu
; CHECK-NEXT: vnmsac.vx v8, a0, v12
; CHECK-NEXT: ret
%head = insertelement <vscale x 8 x i32 > undef , i32 %c , i32 0
%splat = shufflevector <vscale x 8 x i32 > %head , <vscale x 8 x i32 > undef , <vscale x 8 x i32 > zeroinitializer
%head = insertelement <vscale x 8 x i32 > poison , i32 %c , i32 0
%splat = shufflevector <vscale x 8 x i32 > %head , <vscale x 8 x i32 > poison , <vscale x 8 x i32 > zeroinitializer
%x = mul <vscale x 8 x i32 > %vb , %splat
%y = sub <vscale x 8 x i32 > %va , %x
ret <vscale x 8 x i32 > %y
Expand All
@@ -435,8 +435,8 @@ define <vscale x 16 x i32> @vnmsub_vx_nxv16i32(<vscale x 16 x i32> %va, <vscale
; CHECK-NEXT: vsetvli a1, zero, e32, m8, ta, mu
; CHECK-NEXT: vnmsub.vx v8, a0, v16
; CHECK-NEXT: ret
%head = insertelement <vscale x 16 x i32 > undef , i32 %c , i32 0
%splat = shufflevector <vscale x 16 x i32 > %head , <vscale x 16 x i32 > undef , <vscale x 16 x i32 > zeroinitializer
%head = insertelement <vscale x 16 x i32 > poison , i32 %c , i32 0
%splat = shufflevector <vscale x 16 x i32 > %head , <vscale x 16 x i32 > poison , <vscale x 16 x i32 > zeroinitializer
%x = mul <vscale x 16 x i32 > %va , %splat
%y = sub <vscale x 16 x i32 > %vb , %x
ret <vscale x 16 x i32 > %y
Expand Down
Expand Up
@@ -472,8 +472,8 @@ define <vscale x 1 x i64> @vnmsub_vx_nxv1i64(<vscale x 1 x i64> %va, <vscale x 1
; RV64-NEXT: vsetvli a1, zero, e64, m1, ta, mu
; RV64-NEXT: vnmsub.vx v8, a0, v9
; RV64-NEXT: ret
%head = insertelement <vscale x 1 x i64 > undef , i64 %c , i32 0
%splat = shufflevector <vscale x 1 x i64 > %head , <vscale x 1 x i64 > undef , <vscale x 1 x i32 > zeroinitializer
%head = insertelement <vscale x 1 x i64 > poison , i64 %c , i32 0
%splat = shufflevector <vscale x 1 x i64 > %head , <vscale x 1 x i64 > poison , <vscale x 1 x i32 > zeroinitializer
%x = mul <vscale x 1 x i64 > %va , %splat
%y = sub <vscale x 1 x i64 > %vb , %x
ret <vscale x 1 x i64 > %y
Expand Down
Expand Up
@@ -509,8 +509,8 @@ define <vscale x 2 x i64> @vnmsub_vx_nxv2i64(<vscale x 2 x i64> %va, <vscale x 2
; RV64-NEXT: vsetvli a1, zero, e64, m2, ta, mu
; RV64-NEXT: vnmsac.vx v8, a0, v10
; RV64-NEXT: ret
%head = insertelement <vscale x 2 x i64 > undef , i64 %c , i32 0
%splat = shufflevector <vscale x 2 x i64 > %head , <vscale x 2 x i64 > undef , <vscale x 2 x i32 > zeroinitializer
%head = insertelement <vscale x 2 x i64 > poison , i64 %c , i32 0
%splat = shufflevector <vscale x 2 x i64 > %head , <vscale x 2 x i64 > poison , <vscale x 2 x i32 > zeroinitializer
%x = mul <vscale x 2 x i64 > %vb , %splat
%y = sub <vscale x 2 x i64 > %va , %x
ret <vscale x 2 x i64 > %y
Expand Down
Expand Up
@@ -546,8 +546,8 @@ define <vscale x 4 x i64> @vnmsub_vx_nxv4i64(<vscale x 4 x i64> %va, <vscale x 4
; RV64-NEXT: vsetvli a1, zero, e64, m4, ta, mu
; RV64-NEXT: vnmsub.vx v8, a0, v12
; RV64-NEXT: ret
%head = insertelement <vscale x 4 x i64 > undef , i64 %c , i32 0
%splat = shufflevector <vscale x 4 x i64 > %head , <vscale x 4 x i64 > undef , <vscale x 4 x i32 > zeroinitializer
%head = insertelement <vscale x 4 x i64 > poison , i64 %c , i32 0
%splat = shufflevector <vscale x 4 x i64 > %head , <vscale x 4 x i64 > poison , <vscale x 4 x i32 > zeroinitializer
%x = mul <vscale x 4 x i64 > %va , %splat
%y = sub <vscale x 4 x i64 > %vb , %x
ret <vscale x 4 x i64 > %y
Expand Down
Expand Up
@@ -584,8 +584,8 @@ define <vscale x 8 x i64> @vnmsub_vx_nxv8i64(<vscale x 8 x i64> %va, <vscale x 8
; RV64-NEXT: vsetvli a1, zero, e64, m8, ta, mu
; RV64-NEXT: vnmsac.vx v8, a0, v16
; RV64-NEXT: ret
%head = insertelement <vscale x 8 x i64 > undef , i64 %c , i32 0
%splat = shufflevector <vscale x 8 x i64 > %head , <vscale x 8 x i64 > undef , <vscale x 8 x i32 > zeroinitializer
%head = insertelement <vscale x 8 x i64 > poison , i64 %c , i32 0
%splat = shufflevector <vscale x 8 x i64 > %head , <vscale x 8 x i64 > poison , <vscale x 8 x i32 > zeroinitializer
%x = mul <vscale x 8 x i64 > %vb , %splat
%y = sub <vscale x 8 x i64 > %va , %x
ret <vscale x 8 x i64 > %y
Expand Down