improve comments, the matcher is now feature complete, on to codegen.

llvm-svn: 96464
This commit is contained in:
Chris Lattner 2010-02-17 06:47:35 +00:00
parent 0f5c8f2339
commit f46dba81a8
1 changed files with 5 additions and 1 deletions

View File

@ -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;
}