[llvm] 6d26e57 - [RISCV] Remove accidentally duplicated isel patterns. NFC

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 16 22:01:24 PDT 2024


Author: Craig Topper
Date: 2024-07-16T22:01:18-07:00
New Revision: 6d26e574241e04264c10e15781c0788363f3e015

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

LOG: [RISCV] Remove accidentally duplicated isel patterns. NFC

VPatIntegerSetCCSDNode_XI_Swappable inherited from
VPatIntegerSetCCSDNode_XI and contained the same patterns.

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Target/RISCV/RISCVInstrInfoVSDPatterns.td b/llvm/lib/Target/RISCV/RISCVInstrInfoVSDPatterns.td
index e82625f085bec..a0f37ea4c6fea 100644
--- a/llvm/lib/Target/RISCV/RISCVInstrInfoVSDPatterns.td
+++ b/llvm/lib/Target/RISCV/RISCVInstrInfoVSDPatterns.td
@@ -325,9 +325,7 @@ multiclass VPatIntegerSetCCSDNode_XI_Swappable<string instruction_name,
                                                CondCode cc, CondCode invcc,
                                                string kind,
                                                ComplexPattern SplatPatKind,
-                                               DAGOperand xop_kind>
-    : VPatIntegerSetCCSDNode_XI<instruction_name, cc, kind, SplatPatKind,
-                                xop_kind> {
+                                               DAGOperand xop_kind> {
   foreach vti = AllIntegerVectors in {
     defvar instruction = !cast<Instruction>(instruction_name#_#kind#_#vti.LMul.MX);
     let Predicates = GetVTypePredicates<vti>.Predicates in {


        


More information about the llvm-commits mailing list