!subst("_B64", "",
!subst("_MASK", "",
!subst("_COMMUTABLE", "",
+ !subst("_TA", "",
!subst("_TIED", "",
!subst("F16", "F",
!subst("F32", "F",
!subst("F64", "F",
- !subst("Pseudo", "", PseudoInst)))))))))))))))))))));
+ !subst("Pseudo", "", PseudoInst))))))))))))))))))))));
}
// The destination vector register group for a masked vector instruction cannot
multiclass VPseudoTernaryW_VV {
defvar constraint = "@earlyclobber $rd";
- foreach m = MxListW.m in
+ foreach m = MxListW.m in {
defm _VV : VPseudoTernary<m.wvrclass, m.vrclass, m.vrclass, m, constraint>;
+
+ // Add a tail agnostic version for us by IR mul+add.
+ let ForceTailAgnostic = true, VLMul = m.value in
+ def "_VV_" # m.MX # "_TA" : VPseudoTernaryNoMask<m.wvrclass,
+ m.vrclass,
+ m.vrclass,
+ constraint>;
+ }
}
multiclass VPseudoTernaryW_VX {
defvar constraint = "@earlyclobber $rd";
- foreach m = MxListW.m in
+ foreach m = MxListW.m in {
defm "_VX" : VPseudoTernary<m.wvrclass, GPR, m.vrclass, m, constraint>;
+
+ // Add a tail agnostic version for use by IR mul+add.
+ let ForceTailAgnostic = true, VLMul = m.value in
+ def "_VX_" # m.MX # "_TA" :
+ VPseudoTernaryNoMask<m.wvrclass, GPR, m.vrclass, constraint>;
+ }
}
multiclass VPseudoTernaryW_VF {
defvar constraint = "@earlyclobber $rd";
foreach m = MxListW.m in
- foreach f = FPListW.fpinfo in
+ foreach f = FPListW.fpinfo in {
defm "_V" # f.FX : VPseudoTernary<m.wvrclass, f.fprclass, m.vrclass, m,
constraint>;
+
+ // Add a tail agnostic version for use by IR mul+add.
+ let ForceTailAgnostic = true, VLMul = m.value in
+ def "_V" # f.FX # "_" # m.MX # "_TA" :
+ VPseudoTernaryNoMask<m.vrclass, f.fprclass, m.vrclass, constraint>;
+ }
}
multiclass VPseudoTernaryV_VI<Operand ImmType = simm5, string Constraint = ""> {
(vti.Vector vti.RegClass:$rs2),
(vti.Mask true_mask), VLOpFrag),
(vti.Mask true_mask), VLOpFrag)),
- (!cast<Instruction>("PseudoVWMACC_VV_"# vti.LMul.MX)
+ (!cast<Instruction>("PseudoVWMACC_VV_" # vti.LMul.MX # "_TA")
wti.RegClass:$rd, vti.RegClass:$rs1, vti.RegClass:$rs2,
GPR:$vl, vti.Log2SEW)>;
def : Pat<(wti.Vector
(vti.Vector vti.RegClass:$rs2),
(vti.Mask true_mask), VLOpFrag),
(vti.Mask true_mask), VLOpFrag)),
- (!cast<Instruction>("PseudoVWMACCU_VV_"# vti.LMul.MX)
+ (!cast<Instruction>("PseudoVWMACCU_VV_" # vti.LMul.MX # "_TA")
wti.RegClass:$rd, vti.RegClass:$rs1, vti.RegClass:$rs2,
GPR:$vl, vti.Log2SEW)>;
(vti.Vector vti.RegClass:$rs2),
(vti.Mask true_mask), VLOpFrag),
(vti.Mask true_mask), VLOpFrag)),
- (!cast<Instruction>("PseudoVWMACC_VX_" # vti.LMul.MX)
+ (!cast<Instruction>("PseudoVWMACC_VX_" # vti.LMul.MX # "_TA")
wti.RegClass:$rd, vti.ScalarRegClass:$rs1, vti.RegClass:$rs2,
GPR:$vl, vti.Log2SEW)>;
def : Pat<(wti.Vector
(vti.Vector vti.RegClass:$rs2),
(vti.Mask true_mask), VLOpFrag),
(vti.Mask true_mask), VLOpFrag)),
- (!cast<Instruction>("PseudoVWMACCU_VX_" # vti.LMul.MX)
+ (!cast<Instruction>("PseudoVWMACCU_VX_" # vti.LMul.MX # "_TA")
wti.RegClass:$rd, vti.ScalarRegClass:$rs1, vti.RegClass:$rs2,
GPR:$vl, vti.Log2SEW)>;
}
; CHECK-NEXT: vsetivli zero, 2, e8, mf8, ta, mu
; CHECK-NEXT: vle8.v v25, (a0)
; CHECK-NEXT: vle8.v v26, (a1)
-; CHECK-NEXT: vsetvli zero, zero, e8, mf8, tu, mu
; CHECK-NEXT: vwmacc.vv v8, v25, v26
; CHECK-NEXT: ret
%a = load <2 x i8>, <2 x i8>* %x
; CHECK-NEXT: vsetivli zero, 4, e8, mf4, ta, mu
; CHECK-NEXT: vle8.v v25, (a0)
; CHECK-NEXT: vle8.v v26, (a1)
-; CHECK-NEXT: vsetvli zero, zero, e8, mf4, tu, mu
; CHECK-NEXT: vwmacc.vv v8, v25, v26
; CHECK-NEXT: ret
%a = load <4 x i8>, <4 x i8>* %x
; CHECK-NEXT: vsetivli zero, 2, e16, mf4, ta, mu
; CHECK-NEXT: vle16.v v25, (a0)
; CHECK-NEXT: vle16.v v26, (a1)
-; CHECK-NEXT: vsetvli zero, zero, e16, mf4, tu, mu
; CHECK-NEXT: vwmacc.vv v8, v25, v26
; CHECK-NEXT: ret
%a = load <2 x i16>, <2 x i16>* %x
; CHECK-NEXT: vsetivli zero, 8, e8, mf2, ta, mu
; CHECK-NEXT: vle8.v v25, (a0)
; CHECK-NEXT: vle8.v v26, (a1)
-; CHECK-NEXT: vsetvli zero, zero, e8, mf2, tu, mu
; CHECK-NEXT: vwmacc.vv v8, v25, v26
; CHECK-NEXT: ret
%a = load <8 x i8>, <8 x i8>* %x
; CHECK-NEXT: vsetivli zero, 4, e16, mf2, ta, mu
; CHECK-NEXT: vle16.v v25, (a0)
; CHECK-NEXT: vle16.v v26, (a1)
-; CHECK-NEXT: vsetvli zero, zero, e16, mf2, tu, mu
; CHECK-NEXT: vwmacc.vv v8, v25, v26
; CHECK-NEXT: ret
%a = load <4 x i16>, <4 x i16>* %x
; CHECK-NEXT: vsetivli zero, 2, e32, mf2, ta, mu
; CHECK-NEXT: vle32.v v25, (a0)
; CHECK-NEXT: vle32.v v26, (a1)
-; CHECK-NEXT: vsetvli zero, zero, e32, mf2, tu, mu
; CHECK-NEXT: vwmacc.vv v8, v25, v26
; CHECK-NEXT: ret
%a = load <2 x i32>, <2 x i32>* %x
; CHECK-NEXT: vsetivli zero, 16, e8, m1, ta, mu
; CHECK-NEXT: vle8.v v25, (a0)
; CHECK-NEXT: vle8.v v26, (a1)
-; CHECK-NEXT: vsetvli zero, zero, e8, m1, tu, mu
; CHECK-NEXT: vwmacc.vv v8, v25, v26
; CHECK-NEXT: ret
%a = load <16 x i8>, <16 x i8>* %x
; CHECK-NEXT: vsetivli zero, 8, e16, m1, ta, mu
; CHECK-NEXT: vle16.v v25, (a0)
; CHECK-NEXT: vle16.v v26, (a1)
-; CHECK-NEXT: vsetvli zero, zero, e16, m1, tu, mu
; CHECK-NEXT: vwmacc.vv v8, v25, v26
; CHECK-NEXT: ret
%a = load <8 x i16>, <8 x i16>* %x
; CHECK-NEXT: vsetivli zero, 4, e32, m1, ta, mu
; CHECK-NEXT: vle32.v v25, (a0)
; CHECK-NEXT: vle32.v v26, (a1)
-; CHECK-NEXT: vsetvli zero, zero, e32, m1, tu, mu
; CHECK-NEXT: vwmacc.vv v8, v25, v26
; CHECK-NEXT: ret
%a = load <4 x i32>, <4 x i32>* %x
; CHECK-NEXT: vsetvli zero, a2, e8, m2, ta, mu
; CHECK-NEXT: vle8.v v26, (a0)
; CHECK-NEXT: vle8.v v28, (a1)
-; CHECK-NEXT: vsetvli zero, zero, e8, m2, tu, mu
; CHECK-NEXT: vwmacc.vv v8, v26, v28
; CHECK-NEXT: ret
%a = load <32 x i8>, <32 x i8>* %x
; CHECK-NEXT: vsetivli zero, 16, e16, m2, ta, mu
; CHECK-NEXT: vle16.v v26, (a0)
; CHECK-NEXT: vle16.v v28, (a1)
-; CHECK-NEXT: vsetvli zero, zero, e16, m2, tu, mu
; CHECK-NEXT: vwmacc.vv v8, v26, v28
; CHECK-NEXT: ret
%a = load <16 x i16>, <16 x i16>* %x
; CHECK-NEXT: vsetivli zero, 8, e32, m2, ta, mu
; CHECK-NEXT: vle32.v v26, (a0)
; CHECK-NEXT: vle32.v v28, (a1)
-; CHECK-NEXT: vsetvli zero, zero, e32, m2, tu, mu
; CHECK-NEXT: vwmacc.vv v8, v26, v28
; CHECK-NEXT: ret
%a = load <8 x i32>, <8 x i32>* %x
; CHECK-NEXT: vsetvli zero, a2, e8, m4, ta, mu
; CHECK-NEXT: vle8.v v28, (a0)
; CHECK-NEXT: vle8.v v16, (a1)
-; CHECK-NEXT: vsetvli zero, zero, e8, m4, tu, mu
; CHECK-NEXT: vwmacc.vv v8, v28, v16
; CHECK-NEXT: ret
%a = load <64 x i8>, <64 x i8>* %x
; CHECK-NEXT: vsetvli zero, a2, e16, m4, ta, mu
; CHECK-NEXT: vle16.v v28, (a0)
; CHECK-NEXT: vle16.v v16, (a1)
-; CHECK-NEXT: vsetvli zero, zero, e16, m4, tu, mu
; CHECK-NEXT: vwmacc.vv v8, v28, v16
; CHECK-NEXT: ret
%a = load <32 x i16>, <32 x i16>* %x
; CHECK-NEXT: vsetivli zero, 16, e32, m4, ta, mu
; CHECK-NEXT: vle32.v v28, (a0)
; CHECK-NEXT: vle32.v v16, (a1)
-; CHECK-NEXT: vsetvli zero, zero, e32, m4, tu, mu
; CHECK-NEXT: vwmacc.vv v8, v28, v16
; CHECK-NEXT: ret
%a = load <16 x i32>, <16 x i32>* %x
; CHECK: # %bb.0:
; CHECK-NEXT: vsetivli zero, 2, e8, mf8, ta, mu
; CHECK-NEXT: vle8.v v25, (a0)
-; CHECK-NEXT: vsetvli zero, zero, e8, mf8, tu, mu
; CHECK-NEXT: vwmacc.vx v8, a1, v25
; CHECK-NEXT: ret
%a = load <2 x i8>, <2 x i8>* %x
; CHECK: # %bb.0:
; CHECK-NEXT: vsetivli zero, 4, e8, mf4, ta, mu
; CHECK-NEXT: vle8.v v25, (a0)
-; CHECK-NEXT: vsetvli zero, zero, e8, mf4, tu, mu
; CHECK-NEXT: vwmacc.vx v8, a1, v25
; CHECK-NEXT: ret
%a = load <4 x i8>, <4 x i8>* %x
; CHECK: # %bb.0:
; CHECK-NEXT: vsetivli zero, 2, e16, mf4, ta, mu
; CHECK-NEXT: vle16.v v25, (a0)
-; CHECK-NEXT: vsetvli zero, zero, e16, mf4, tu, mu
; CHECK-NEXT: vwmacc.vx v8, a1, v25
; CHECK-NEXT: ret
%a = load <2 x i16>, <2 x i16>* %x
; CHECK: # %bb.0:
; CHECK-NEXT: vsetivli zero, 8, e8, mf2, ta, mu
; CHECK-NEXT: vle8.v v25, (a0)
-; CHECK-NEXT: vsetvli zero, zero, e8, mf2, tu, mu
; CHECK-NEXT: vwmacc.vx v8, a1, v25
; CHECK-NEXT: ret
%a = load <8 x i8>, <8 x i8>* %x
; CHECK: # %bb.0:
; CHECK-NEXT: vsetivli zero, 4, e16, mf2, ta, mu
; CHECK-NEXT: vle16.v v25, (a0)
-; CHECK-NEXT: vsetvli zero, zero, e16, mf2, tu, mu
; CHECK-NEXT: vwmacc.vx v8, a1, v25
; CHECK-NEXT: ret
%a = load <4 x i16>, <4 x i16>* %x
; CHECK: # %bb.0:
; CHECK-NEXT: vsetivli zero, 2, e32, mf2, ta, mu
; CHECK-NEXT: vle32.v v25, (a0)
-; CHECK-NEXT: vsetvli zero, zero, e32, mf2, tu, mu
; CHECK-NEXT: vwmacc.vx v8, a1, v25
; CHECK-NEXT: ret
%a = load <2 x i32>, <2 x i32>* %x
; CHECK: # %bb.0:
; CHECK-NEXT: vsetivli zero, 16, e8, m1, ta, mu
; CHECK-NEXT: vle8.v v25, (a0)
-; CHECK-NEXT: vsetvli zero, zero, e8, m1, tu, mu
; CHECK-NEXT: vwmacc.vx v8, a1, v25
; CHECK-NEXT: ret
%a = load <16 x i8>, <16 x i8>* %x
; CHECK: # %bb.0:
; CHECK-NEXT: vsetivli zero, 8, e16, m1, ta, mu
; CHECK-NEXT: vle16.v v25, (a0)
-; CHECK-NEXT: vsetvli zero, zero, e16, m1, tu, mu
; CHECK-NEXT: vwmacc.vx v8, a1, v25
; CHECK-NEXT: ret
%a = load <8 x i16>, <8 x i16>* %x
; CHECK: # %bb.0:
; CHECK-NEXT: vsetivli zero, 4, e32, m1, ta, mu
; CHECK-NEXT: vle32.v v25, (a0)
-; CHECK-NEXT: vsetvli zero, zero, e32, m1, tu, mu
; CHECK-NEXT: vwmacc.vx v8, a1, v25
; CHECK-NEXT: ret
%a = load <4 x i32>, <4 x i32>* %x
; CHECK-NEXT: addi a2, zero, 32
; CHECK-NEXT: vsetvli zero, a2, e8, m2, ta, mu
; CHECK-NEXT: vle8.v v26, (a0)
-; CHECK-NEXT: vsetvli zero, zero, e8, m2, tu, mu
; CHECK-NEXT: vwmacc.vx v8, a1, v26
; CHECK-NEXT: ret
%a = load <32 x i8>, <32 x i8>* %x
; CHECK: # %bb.0:
; CHECK-NEXT: vsetivli zero, 16, e16, m2, ta, mu
; CHECK-NEXT: vle16.v v26, (a0)
-; CHECK-NEXT: vsetvli zero, zero, e16, m2, tu, mu
; CHECK-NEXT: vwmacc.vx v8, a1, v26
; CHECK-NEXT: ret
%a = load <16 x i16>, <16 x i16>* %x
; CHECK: # %bb.0:
; CHECK-NEXT: vsetivli zero, 8, e32, m2, ta, mu
; CHECK-NEXT: vle32.v v26, (a0)
-; CHECK-NEXT: vsetvli zero, zero, e32, m2, tu, mu
; CHECK-NEXT: vwmacc.vx v8, a1, v26
; CHECK-NEXT: ret
%a = load <8 x i32>, <8 x i32>* %x
; CHECK-NEXT: addi a2, zero, 64
; CHECK-NEXT: vsetvli zero, a2, e8, m4, ta, mu
; CHECK-NEXT: vle8.v v28, (a0)
-; CHECK-NEXT: vsetvli zero, zero, e8, m4, tu, mu
; CHECK-NEXT: vwmacc.vx v8, a1, v28
; CHECK-NEXT: ret
%a = load <64 x i8>, <64 x i8>* %x
; CHECK-NEXT: addi a2, zero, 32
; CHECK-NEXT: vsetvli zero, a2, e16, m4, ta, mu
; CHECK-NEXT: vle16.v v28, (a0)
-; CHECK-NEXT: vsetvli zero, zero, e16, m4, tu, mu
; CHECK-NEXT: vwmacc.vx v8, a1, v28
; CHECK-NEXT: ret
%a = load <32 x i16>, <32 x i16>* %x
; CHECK: # %bb.0:
; CHECK-NEXT: vsetivli zero, 16, e32, m4, ta, mu
; CHECK-NEXT: vle32.v v28, (a0)
-; CHECK-NEXT: vsetvli zero, zero, e32, m4, tu, mu
; CHECK-NEXT: vwmacc.vx v8, a1, v28
; CHECK-NEXT: ret
%a = load <16 x i32>, <16 x i32>* %x
; CHECK-NEXT: vsetivli zero, 2, e8, mf8, ta, mu
; CHECK-NEXT: vle8.v v25, (a0)
; CHECK-NEXT: vle8.v v26, (a1)
-; CHECK-NEXT: vsetvli zero, zero, e8, mf8, tu, mu
; CHECK-NEXT: vwmaccu.vv v8, v25, v26
; CHECK-NEXT: ret
%a = load <2 x i8>, <2 x i8>* %x
; CHECK-NEXT: vsetivli zero, 4, e8, mf4, ta, mu
; CHECK-NEXT: vle8.v v25, (a0)
; CHECK-NEXT: vle8.v v26, (a1)
-; CHECK-NEXT: vsetvli zero, zero, e8, mf4, tu, mu
; CHECK-NEXT: vwmaccu.vv v8, v25, v26
; CHECK-NEXT: ret
%a = load <4 x i8>, <4 x i8>* %x
; CHECK-NEXT: vsetivli zero, 2, e16, mf4, ta, mu
; CHECK-NEXT: vle16.v v25, (a0)
; CHECK-NEXT: vle16.v v26, (a1)
-; CHECK-NEXT: vsetvli zero, zero, e16, mf4, tu, mu
; CHECK-NEXT: vwmaccu.vv v8, v25, v26
; CHECK-NEXT: ret
%a = load <2 x i16>, <2 x i16>* %x
; CHECK-NEXT: vsetivli zero, 8, e8, mf2, ta, mu
; CHECK-NEXT: vle8.v v25, (a0)
; CHECK-NEXT: vle8.v v26, (a1)
-; CHECK-NEXT: vsetvli zero, zero, e8, mf2, tu, mu
; CHECK-NEXT: vwmaccu.vv v8, v25, v26
; CHECK-NEXT: ret
%a = load <8 x i8>, <8 x i8>* %x
; CHECK-NEXT: vsetivli zero, 4, e16, mf2, ta, mu
; CHECK-NEXT: vle16.v v25, (a0)
; CHECK-NEXT: vle16.v v26, (a1)
-; CHECK-NEXT: vsetvli zero, zero, e16, mf2, tu, mu
; CHECK-NEXT: vwmaccu.vv v8, v25, v26
; CHECK-NEXT: ret
%a = load <4 x i16>, <4 x i16>* %x
; CHECK-NEXT: vsetivli zero, 2, e32, mf2, ta, mu
; CHECK-NEXT: vle32.v v25, (a0)
; CHECK-NEXT: vle32.v v26, (a1)
-; CHECK-NEXT: vsetvli zero, zero, e32, mf2, tu, mu
; CHECK-NEXT: vwmaccu.vv v8, v25, v26
; CHECK-NEXT: ret
%a = load <2 x i32>, <2 x i32>* %x
; CHECK-NEXT: vsetivli zero, 16, e8, m1, ta, mu
; CHECK-NEXT: vle8.v v25, (a0)
; CHECK-NEXT: vle8.v v26, (a1)
-; CHECK-NEXT: vsetvli zero, zero, e8, m1, tu, mu
; CHECK-NEXT: vwmaccu.vv v8, v25, v26
; CHECK-NEXT: ret
%a = load <16 x i8>, <16 x i8>* %x
; CHECK-NEXT: vsetivli zero, 8, e16, m1, ta, mu
; CHECK-NEXT: vle16.v v25, (a0)
; CHECK-NEXT: vle16.v v26, (a1)
-; CHECK-NEXT: vsetvli zero, zero, e16, m1, tu, mu
; CHECK-NEXT: vwmaccu.vv v8, v25, v26
; CHECK-NEXT: ret
%a = load <8 x i16>, <8 x i16>* %x
; CHECK-NEXT: vsetivli zero, 4, e32, m1, ta, mu
; CHECK-NEXT: vle32.v v25, (a0)
; CHECK-NEXT: vle32.v v26, (a1)
-; CHECK-NEXT: vsetvli zero, zero, e32, m1, tu, mu
; CHECK-NEXT: vwmaccu.vv v8, v25, v26
; CHECK-NEXT: ret
%a = load <4 x i32>, <4 x i32>* %x
; CHECK-NEXT: vsetvli zero, a2, e8, m2, ta, mu
; CHECK-NEXT: vle8.v v26, (a0)
; CHECK-NEXT: vle8.v v28, (a1)
-; CHECK-NEXT: vsetvli zero, zero, e8, m2, tu, mu
; CHECK-NEXT: vwmaccu.vv v8, v26, v28
; CHECK-NEXT: ret
%a = load <32 x i8>, <32 x i8>* %x
; CHECK-NEXT: vsetivli zero, 16, e16, m2, ta, mu
; CHECK-NEXT: vle16.v v26, (a0)
; CHECK-NEXT: vle16.v v28, (a1)
-; CHECK-NEXT: vsetvli zero, zero, e16, m2, tu, mu
; CHECK-NEXT: vwmaccu.vv v8, v26, v28
; CHECK-NEXT: ret
%a = load <16 x i16>, <16 x i16>* %x
; CHECK-NEXT: vsetivli zero, 8, e32, m2, ta, mu
; CHECK-NEXT: vle32.v v26, (a0)
; CHECK-NEXT: vle32.v v28, (a1)
-; CHECK-NEXT: vsetvli zero, zero, e32, m2, tu, mu
; CHECK-NEXT: vwmaccu.vv v8, v26, v28
; CHECK-NEXT: ret
%a = load <8 x i32>, <8 x i32>* %x
; CHECK-NEXT: vsetvli zero, a2, e8, m4, ta, mu
; CHECK-NEXT: vle8.v v28, (a0)
; CHECK-NEXT: vle8.v v16, (a1)
-; CHECK-NEXT: vsetvli zero, zero, e8, m4, tu, mu
; CHECK-NEXT: vwmaccu.vv v8, v28, v16
; CHECK-NEXT: ret
%a = load <64 x i8>, <64 x i8>* %x
; CHECK-NEXT: vsetvli zero, a2, e16, m4, ta, mu
; CHECK-NEXT: vle16.v v28, (a0)
; CHECK-NEXT: vle16.v v16, (a1)
-; CHECK-NEXT: vsetvli zero, zero, e16, m4, tu, mu
; CHECK-NEXT: vwmaccu.vv v8, v28, v16
; CHECK-NEXT: ret
%a = load <32 x i16>, <32 x i16>* %x
; CHECK-NEXT: vsetivli zero, 16, e32, m4, ta, mu
; CHECK-NEXT: vle32.v v28, (a0)
; CHECK-NEXT: vle32.v v16, (a1)
-; CHECK-NEXT: vsetvli zero, zero, e32, m4, tu, mu
; CHECK-NEXT: vwmaccu.vv v8, v28, v16
; CHECK-NEXT: ret
%a = load <16 x i32>, <16 x i32>* %x
; CHECK: # %bb.0:
; CHECK-NEXT: vsetivli zero, 2, e8, mf8, ta, mu
; CHECK-NEXT: vle8.v v25, (a0)
-; CHECK-NEXT: vsetvli zero, zero, e8, mf8, tu, mu
; CHECK-NEXT: vwmaccu.vx v8, a1, v25
; CHECK-NEXT: ret
%a = load <2 x i8>, <2 x i8>* %x
; CHECK: # %bb.0:
; CHECK-NEXT: vsetivli zero, 4, e8, mf4, ta, mu
; CHECK-NEXT: vle8.v v25, (a0)
-; CHECK-NEXT: vsetvli zero, zero, e8, mf4, tu, mu
; CHECK-NEXT: vwmaccu.vx v8, a1, v25
; CHECK-NEXT: ret
%a = load <4 x i8>, <4 x i8>* %x
; CHECK: # %bb.0:
; CHECK-NEXT: vsetivli zero, 2, e16, mf4, ta, mu
; CHECK-NEXT: vle16.v v25, (a0)
-; CHECK-NEXT: vsetvli zero, zero, e16, mf4, tu, mu
; CHECK-NEXT: vwmaccu.vx v8, a1, v25
; CHECK-NEXT: ret
%a = load <2 x i16>, <2 x i16>* %x
; CHECK: # %bb.0:
; CHECK-NEXT: vsetivli zero, 8, e8, mf2, ta, mu
; CHECK-NEXT: vle8.v v25, (a0)
-; CHECK-NEXT: vsetvli zero, zero, e8, mf2, tu, mu
; CHECK-NEXT: vwmaccu.vx v8, a1, v25
; CHECK-NEXT: ret
%a = load <8 x i8>, <8 x i8>* %x
; CHECK: # %bb.0:
; CHECK-NEXT: vsetivli zero, 4, e16, mf2, ta, mu
; CHECK-NEXT: vle16.v v25, (a0)
-; CHECK-NEXT: vsetvli zero, zero, e16, mf2, tu, mu
; CHECK-NEXT: vwmaccu.vx v8, a1, v25
; CHECK-NEXT: ret
%a = load <4 x i16>, <4 x i16>* %x
; CHECK: # %bb.0:
; CHECK-NEXT: vsetivli zero, 2, e32, mf2, ta, mu
; CHECK-NEXT: vle32.v v25, (a0)
-; CHECK-NEXT: vsetvli zero, zero, e32, mf2, tu, mu
; CHECK-NEXT: vwmaccu.vx v8, a1, v25
; CHECK-NEXT: ret
%a = load <2 x i32>, <2 x i32>* %x
; CHECK: # %bb.0:
; CHECK-NEXT: vsetivli zero, 16, e8, m1, ta, mu
; CHECK-NEXT: vle8.v v25, (a0)
-; CHECK-NEXT: vsetvli zero, zero, e8, m1, tu, mu
; CHECK-NEXT: vwmaccu.vx v8, a1, v25
; CHECK-NEXT: ret
%a = load <16 x i8>, <16 x i8>* %x
; CHECK: # %bb.0:
; CHECK-NEXT: vsetivli zero, 8, e16, m1, ta, mu
; CHECK-NEXT: vle16.v v25, (a0)
-; CHECK-NEXT: vsetvli zero, zero, e16, m1, tu, mu
; CHECK-NEXT: vwmaccu.vx v8, a1, v25
; CHECK-NEXT: ret
%a = load <8 x i16>, <8 x i16>* %x
; CHECK: # %bb.0:
; CHECK-NEXT: vsetivli zero, 4, e32, m1, ta, mu
; CHECK-NEXT: vle32.v v25, (a0)
-; CHECK-NEXT: vsetvli zero, zero, e32, m1, tu, mu
; CHECK-NEXT: vwmaccu.vx v8, a1, v25
; CHECK-NEXT: ret
%a = load <4 x i32>, <4 x i32>* %x
; CHECK-NEXT: addi a2, zero, 32
; CHECK-NEXT: vsetvli zero, a2, e8, m2, ta, mu
; CHECK-NEXT: vle8.v v26, (a0)
-; CHECK-NEXT: vsetvli zero, zero, e8, m2, tu, mu
; CHECK-NEXT: vwmaccu.vx v8, a1, v26
; CHECK-NEXT: ret
%a = load <32 x i8>, <32 x i8>* %x
; CHECK: # %bb.0:
; CHECK-NEXT: vsetivli zero, 16, e16, m2, ta, mu
; CHECK-NEXT: vle16.v v26, (a0)
-; CHECK-NEXT: vsetvli zero, zero, e16, m2, tu, mu
; CHECK-NEXT: vwmaccu.vx v8, a1, v26
; CHECK-NEXT: ret
%a = load <16 x i16>, <16 x i16>* %x
; CHECK: # %bb.0:
; CHECK-NEXT: vsetivli zero, 8, e32, m2, ta, mu
; CHECK-NEXT: vle32.v v26, (a0)
-; CHECK-NEXT: vsetvli zero, zero, e32, m2, tu, mu
; CHECK-NEXT: vwmaccu.vx v8, a1, v26
; CHECK-NEXT: ret
%a = load <8 x i32>, <8 x i32>* %x
; CHECK-NEXT: addi a2, zero, 64
; CHECK-NEXT: vsetvli zero, a2, e8, m4, ta, mu
; CHECK-NEXT: vle8.v v28, (a0)
-; CHECK-NEXT: vsetvli zero, zero, e8, m4, tu, mu
; CHECK-NEXT: vwmaccu.vx v8, a1, v28
; CHECK-NEXT: ret
%a = load <64 x i8>, <64 x i8>* %x
; CHECK-NEXT: addi a2, zero, 32
; CHECK-NEXT: vsetvli zero, a2, e16, m4, ta, mu
; CHECK-NEXT: vle16.v v28, (a0)
-; CHECK-NEXT: vsetvli zero, zero, e16, m4, tu, mu
; CHECK-NEXT: vwmaccu.vx v8, a1, v28
; CHECK-NEXT: ret
%a = load <32 x i16>, <32 x i16>* %x
; CHECK: # %bb.0:
; CHECK-NEXT: vsetivli zero, 16, e32, m4, ta, mu
; CHECK-NEXT: vle32.v v28, (a0)
-; CHECK-NEXT: vsetvli zero, zero, e32, m4, tu, mu
; CHECK-NEXT: vwmaccu.vx v8, a1, v28
; CHECK-NEXT: ret
%a = load <16 x i32>, <16 x i32>* %x