[RISCV][NFC] Fix up pseudoinstruction name in comment
authorFraser Cormack <fraser@codeplay.com>
Wed, 5 May 2021 15:40:28 +0000 (16:40 +0100)
committerFraser Cormack <fraser@codeplay.com>
Wed, 5 May 2021 15:40:28 +0000 (16:40 +0100)
llvm/lib/Target/RISCV/RISCVInstrInfoVSDPatterns.td
llvm/lib/Target/RISCV/RISCVInstrInfoVVLPatterns.td

index 36e29a0..dd426f1 100644 (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)>;
index 719e8d8..88e4c32 100644 (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)>;