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 @@ -2309,7 +2309,7 @@ (result_type result_reg_class:$merge), (op2_type op2_kind:$rs2), (mask_type V0), - (XLenVT (VLOp GPR:$vl)))), + VLOpFrag)), (!cast(inst#"_MASK_TIED") (result_type result_reg_class:$merge), (op2_type op2_kind:$rs2),