File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
llvm/include/llvm/Target/GlobalISel Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -38,11 +38,10 @@ class GIComplexOperandMatcher<LLT type, string matcherfn> {
38
38
39
39
// The function that determines whether the operand matches. It should be of
40
40
// the form:
41
- // bool select(const MatchOperand &Root, MatchOperand &Result1)
42
- // and should have the same number of ResultX arguments as the number of
43
- // result operands. It must return true on successful match and false
44
- // otherwise. If it returns true, then all the ResultX arguments must be
45
- // overwritten.
41
+ // ComplexRendererFn select(MachineOperand &Root) const;
42
+ // where Root is the root of the match. The function should return nullptr
43
+ // on match failure, or a ComplexRendererFn that renders the operand in case
44
+ // of a successful match.
46
45
string MatcherFn = matcherfn;
47
46
}
48
47
You can’t perform that action at this time.
0 commit comments