[llvm] efc31be - [RISCV][NFC] Fix up pseudoinstruction name in comment

Fraser Cormack via llvm-commits llvm-commits at lists.llvm.org
Wed May 5 08:48:18 PDT 2021


Author: Fraser Cormack
Date: 2021-05-05T16:40:28+01:00
New Revision: efc31be7f8e8487c774dd9052980b67f0d5e70e2

URL: https://github.com/llvm/llvm-project/commit/efc31be7f8e8487c774dd9052980b67f0d5e70e2
DIFF: https://github.com/llvm/llvm-project/commit/efc31be7f8e8487c774dd9052980b67f0d5e70e2.diff

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

Added: 
    

Modified: 
    llvm/lib/Target/RISCV/RISCVInstrInfoVSDPatterns.td
    llvm/lib/Target/RISCV/RISCVInstrInfoVVLPatterns.td

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Target/RISCV/RISCVInstrInfoVSDPatterns.td b/llvm/lib/Target/RISCV/RISCVInstrInfoVSDPatterns.td
index 36e29a0f2841..dd426f17ce01 100644
--- a/llvm/lib/Target/RISCV/RISCVInstrInfoVSDPatterns.td
+++ b/llvm/lib/Target/RISCV/RISCVInstrInfoVSDPatterns.td
@@ -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)>;

diff  --git a/llvm/lib/Target/RISCV/RISCVInstrInfoVVLPatterns.td b/llvm/lib/Target/RISCV/RISCVInstrInfoVVLPatterns.td
index 719e8d8b384d..88e4c3237f68 100644
--- a/llvm/lib/Target/RISCV/RISCVInstrInfoVVLPatterns.td
+++ b/llvm/lib/Target/RISCV/RISCVInstrInfoVVLPatterns.td
@@ -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)>;


        


More information about the llvm-commits mailing list