[RISCV][NFC] Fix up pseudoinstruction name in comment

This commit is contained in:
Fraser Cormack 2021-05-05 16:40:28 +01:00
parent 6e876f9ded
commit efc31be7f8
2 changed files with 2 additions and 2 deletions

View File

@ -528,7 +528,7 @@ foreach mti = AllMasks in {
(!cast<Instruction>("PseudoVMORNOT_MM_"#mti.LMul.MX)
VR:$rs1, VR:$rs2, mti.AVL, mti.Log2SEW)>;
// Handle rvv_vnot the same as the vnot.mm pseudoinstruction.
// Handle rvv_vnot the same as the vmnot.m pseudoinstruction.
def : Pat<(mti.Mask (rvv_vnot VR:$rs)),
(!cast<Instruction>("PseudoVMNAND_MM_"#mti.LMul.MX)
VR:$rs, VR:$rs, mti.AVL, mti.Log2SEW)>;

View File

@ -1085,7 +1085,7 @@ foreach mti = AllMasks in {
(!cast<Instruction>("PseudoVMXNOR_MM_" # mti.LMul.MX)
VR:$rs1, VR:$rs2, GPR:$vl, mti.Log2SEW)>;
// Match the not idiom to the vnot.mm pseudo.
// Match the not idiom to the vmnot.m pseudo.
def : Pat<(mti.Mask (riscv_vmnot_vl VR:$rs, VLOpFrag)),
(!cast<Instruction>("PseudoVMNAND_MM_" # mti.LMul.MX)
VR:$rs, VR:$rs, GPR:$vl, mti.Log2SEW)>;