Skip to content

Commit 1726989

Browse files
committed
Add missing comment for the matcher
1 parent c305be0 commit 1726989

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1004,6 +1004,11 @@ class PointerToAnyOperandMatcher : public OperandPredicateMatcher {
10041004
RuleMatcher &Rule) const override;
10051005
};
10061006

1007+
/// Generates code to check that an operand is an integer that has a width of a
1008+
/// pointer type.
1009+
///
1010+
/// If SizeInBits is zero, then the pointer size will be obtained from the
1011+
/// subtarget.
10071012
class IntPtrOperandMatcher : public OperandPredicateMatcher {
10081013
protected:
10091014
unsigned SizeInBits;

0 commit comments

Comments
 (0)