projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
11979aa
)
improve comments, the matcher is now feature complete, on to codegen.
author
Chris Lattner
<sabre@nondot.org>
Wed, 17 Feb 2010 06:47:35 +0000
(06:47 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Wed, 17 Feb 2010 06:47:35 +0000
(06:47 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96464
91177308
-0d34-0410-b5e6-
96231b3b80d8
utils/TableGen/DAGISelMatcherEmitter.cpp
patch
|
blob
|
history
diff --git
a/utils/TableGen/DAGISelMatcherEmitter.cpp
b/utils/TableGen/DAGISelMatcherEmitter.cpp
index 8e29c4717232383cb42edc6882e13db5a4bca385..c284761de8e11a8f39430d25d009ba94131c3fac 100644
(file)
--- a/
utils/TableGen/DAGISelMatcherEmitter.cpp
+++ b/
utils/TableGen/DAGISelMatcherEmitter.cpp
@@
-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;
}