summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-03-27 22:21:18 +0000
committerChris Lattner <sabre@nondot.org>2006-03-27 22:21:18 +0000
commit2c4e65d460470d9ea19a46446af8ff41f343a3bd (patch)
tree719bb3ce3fe204c1cffb7db080201fd63e697d3e /utils
parentb92ca7d4b85dfeb5e28e9e4956982f7c532917b1 (diff)
downloadllvm-2c4e65d460470d9ea19a46446af8ff41f343a3bd.tar.gz
llvm-2c4e65d460470d9ea19a46446af8ff41f343a3bd.tar.bz2
llvm-2c4e65d460470d9ea19a46446af8ff41f343a3bd.tar.xz
Print error messages like this:
tblgen: In STVEBX: Intrinsic 'llvm.ppc.altivec.stvebx' expects 3 operands, not 2 operands! instead of like this: tblgen: In STVEBX: Intrinsic 'intrinsic_void expects 3 operands, not 2 operands! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27185 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils')
-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 e9d5c42142..7c911bd5be 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!");