aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-06-16 18:25:06 +0000
committerChris Lattner <sabre@nondot.org>2006-06-16 18:25:06 +0000
commit8f60d54fb13191942e6fea832a2aed8338a86fc8 (patch)
tree955f4ce752997e147b0bb72481ad132cb2ae60c1
parent426b782a92537449bec985c57413167860f4731b (diff)
Improve a comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28833 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--utils/TableGen/DAGISelEmitter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/TableGen/DAGISelEmitter.cpp b/utils/TableGen/DAGISelEmitter.cpp
index 73e639db65..c46b0883ae 100644
--- a/utils/TableGen/DAGISelEmitter.cpp
+++ b/utils/TableGen/DAGISelEmitter.cpp
@@ -145,7 +145,7 @@ bool SDTypeConstraint::ApplyTypeConstraint(TreePatternNode *N,
assert(NumResults <= 1 &&
"We only work with nodes with zero or one result so far!");
- // Check that the number of operands is sane.
+ // Check that the number of operands is sane. Negative operands -> varargs.
if (NodeInfo.getNumOperands() >= 0) {
if (N->getNumChildren() != (unsigned)NodeInfo.getNumOperands())
TP.error(N->getOperator()->getName() + " node requires exactly " +