From: Fraser Cormack Date: Wed, 5 May 2021 15:40:28 +0000 (+0100) Subject: [RISCV][NFC] Fix up pseudoinstruction name in comment X-Git-Tag: llvmorg-14-init~7548 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=efc31be7f8e8487c774dd9052980b67f0d5e70e2;p=platform%2Fupstream%2Fllvm.git [RISCV][NFC] Fix up pseudoinstruction name in comment --- diff --git a/llvm/lib/Target/RISCV/RISCVInstrInfoVSDPatterns.td b/llvm/lib/Target/RISCV/RISCVInstrInfoVSDPatterns.td index 36e29a0..dd426f1 100644 --- a/llvm/lib/Target/RISCV/RISCVInstrInfoVSDPatterns.td +++ b/llvm/lib/Target/RISCV/RISCVInstrInfoVSDPatterns.td @@ -528,7 +528,7 @@ foreach mti = AllMasks in { (!cast("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("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 719e8d8..88e4c32 100644 --- a/llvm/lib/Target/RISCV/RISCVInstrInfoVVLPatterns.td +++ b/llvm/lib/Target/RISCV/RISCVInstrInfoVVLPatterns.td @@ -1085,7 +1085,7 @@ foreach mti = AllMasks in { (!cast("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("PseudoVMNAND_MM_" # mti.LMul.MX) VR:$rs, VR:$rs, GPR:$vl, mti.Log2SEW)>;