forked from OSchip/llvm-project
improve comments, the matcher is now feature complete, on to codegen.
llvm-svn: 96464
This commit is contained in:
parent
0f5c8f2339
commit
f46dba81a8
|
@ -186,7 +186,11 @@ EmitMatcher(const MatcherNode *N, unsigned Indent) {
|
|||
const ComplexPattern &Pattern =
|
||||
cast<CheckComplexPatMatcherNode>(N)->getPattern();
|
||||
OS << "OPC_CheckComplexPat, " << getComplexPat(Pattern) << ',';
|
||||
OS.PadToColumn(CommentIndent) << "// " << Pattern.getSelectFunc() << '\n';
|
||||
OS.PadToColumn(CommentIndent) << "// " << Pattern.getSelectFunc();
|
||||
OS << ": " << Pattern.getNumOperands() << " operands";
|
||||
if (Pattern.hasProperty(SDNPHasChain))
|
||||
OS << " + chain result and input";
|
||||
OS << '\n';
|
||||
return 2;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue