[llvm] 6ee39fb - [RISCV] Remove unused forceMergeOpRead from SchedTernary class. NFC

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 25 12:50:32 PDT 2024


Author: Craig Topper
Date: 2024-03-25T12:50:05-07:00
New Revision: 6ee39fb4c180c1425d865b2f360a09aa115549d1

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

LOG: [RISCV] Remove unused forceMergeOpRead from SchedTernary class. NFC

Ternary operations cannot have a merge op in addition to their 3 sources
so there is no need for this option.

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Target/RISCV/RISCVInstrInfoV.td b/llvm/lib/Target/RISCV/RISCVInstrInfoV.td
index d7807c12037807..469ceaf6418e55 100644
--- a/llvm/lib/Target/RISCV/RISCVInstrInfoV.td
+++ b/llvm/lib/Target/RISCV/RISCVInstrInfoV.td
@@ -157,10 +157,8 @@ class SchedBinaryMC<string write, string read0, string read1,
 
 // For instructions with three operands.
 class SchedTernary<string write, string read0, string read1, string read2,
-                   string mx, int sew = 0, bit forceMasked = 0,
-                   bit forceMergeOpRead = 0>
-    : SchedNary<write, [read0, read1, read2], mx, sew, forceMasked,
-                forceMergeOpRead>;
+                   string mx, int sew = 0, bit forceMasked = 0>
+    : SchedNary<write, [read0, read1, read2], mx, sew, forceMasked>;
 class SchedTernaryMC<string write, string read0, string read1, string read2,
                      int sew = 0, bit forceMasked = 1>:
   SchedNary<write, [read0, read1, read2], "WorstCase", sew, forceMasked>;


        


More information about the llvm-commits mailing list