diff --git a/utils/TableGen/DAGISelEmitter.cpp b/utils/TableGen/DAGISelEmitter.cpp index e9d5c421423..7c911bd5be2 100644 --- a/utils/TableGen/DAGISelEmitter.cpp +++ b/utils/TableGen/DAGISelEmitter.cpp @@ -649,7 +649,7 @@ bool TreePatternNode::ApplyTypeConstraints(TreePattern &TP, bool NotRegisters) { MadeChange = UpdateNodeType(Int.ArgVTs[0], TP); if (getNumChildren() != Int.ArgVTs.size()) - TP.error("Intrinsic '" + getOperator()->getName() + " expects " + + TP.error("Intrinsic '" + Int.Name + "' expects " + utostr(Int.ArgVTs.size()-1) + " operands, not " + utostr(getNumChildren()-1) + " operands!");