Skip to content

Commit 6ee39fb

Browse files
committed
[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.
1 parent 2eb010d commit 6ee39fb

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

llvm/lib/Target/RISCV/RISCVInstrInfoV.td

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -157,10 +157,8 @@ class SchedBinaryMC<string write, string read0, string read1,
157157

158158
// For instructions with three operands.
159159
class SchedTernary<string write, string read0, string read1, string read2,
160-
string mx, int sew = 0, bit forceMasked = 0,
161-
bit forceMergeOpRead = 0>
162-
: SchedNary<write, [read0, read1, read2], mx, sew, forceMasked,
163-
forceMergeOpRead>;
160+
string mx, int sew = 0, bit forceMasked = 0>
161+
: SchedNary<write, [read0, read1, read2], mx, sew, forceMasked>;
164162
class SchedTernaryMC<string write, string read0, string read1, string read2,
165163
int sew = 0, bit forceMasked = 1>:
166164
SchedNary<write, [read0, read1, read2], "WorstCase", sew, forceMasked>;

0 commit comments

Comments
 (0)