Skip to content

Commit 0d3084e

Browse files
committed
Drop PhysRegInputs from InstructionMatcher as no users anymore
1 parent 381d594 commit 0d3084e

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

llvm/utils/TableGen/Common/GlobalISel/GlobalISelMatchTable.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1723,7 +1723,6 @@ OperandMatcher &InstructionMatcher::addPhysRegInput(const Record *Reg,
17231723
OperandMatcher *OM = new OperandMatcher(*this, OpIdx, "", TempOpIdx);
17241724
Operands.emplace_back(OM);
17251725
Rule.definePhysRegOperand(Reg, *OM);
1726-
PhysRegInputs.emplace_back(Reg, OpIdx);
17271726
return *OM;
17281727
}
17291728

llvm/utils/TableGen/Common/GlobalISel/GlobalISelMatchTable.h

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1763,11 +1763,6 @@ class InstructionMatcher final : public PredicateListMatcher<PredicateMatcher> {
17631763
unsigned InsnVarID;
17641764
bool AllowNumOpsCheck;
17651765

1766-
/// PhysRegInputs - List list has an entry for each explicitly specified
1767-
/// physreg input to the pattern. The first elt is the Register node, the
1768-
/// second is the recorded slot number the input pattern match saved it in.
1769-
SmallVector<std::pair<const Record *, unsigned>, 2> PhysRegInputs;
1770-
17711766
bool canAddNumOperandsCheck() const {
17721767
// Add if it's allowed, and:
17731768
// - We don't have a variadic operand

0 commit comments

Comments
 (0)