mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-13 14:35:54 +00:00
Improve a comment.
llvm-svn: 28833
This commit is contained in:
parent
5a1f56fc2a
commit
dfcd07cc4c
@ -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 " +
|
||||
|
Loading…
Reference in New Issue
Block a user