diff --git a/llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td b/llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td --- a/llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td +++ b/llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td @@ -3357,7 +3357,7 @@ multiclass VPatNullaryM { foreach mti = AllMasks in def : Pat<(mti.Mask (!cast(intrinsic) - (XLenVT (VLOp (XLenVT (XLenVT GPR:$vl)))))), + VLOpFrag)), (!cast(inst#"_M_"#mti.BX) GPR:$vl, mti.Log2SEW)>; }