1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 02:52:53 +02:00

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 581ae3d134
commit 143e2b6181

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