Improve a comment.
authorChris Lattner <sabre@nondot.org>
Fri, 16 Jun 2006 18:25:06 +0000 (18:25 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 16 Jun 2006 18:25:06 +0000 (18:25 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28833 91177308-0d34-0410-b5e6-96231b3b80d8

utils/TableGen/DAGISelEmitter.cpp

index 73e639db65adc9a36096528fc11ff5e275549389..c46b0883aef748fcf1209484ea99d59548a84d9a 100644 (file)
@@ -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 " +