[llvm-commits] CVS: llvm/utils/TableGen/DAGISelEmitter.cpp
Chris Lattner
lattner at cs.uiuc.edu
Mon Mar 27 14:21:31 PST 2006
Changes in directory llvm/utils/TableGen:
DAGISelEmitter.cpp updated: 1.188 -> 1.189
---
Log message:
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!
---
Diffs of the changes: (+1 -1)
DAGISelEmitter.cpp | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/utils/TableGen/DAGISelEmitter.cpp
diff -u llvm/utils/TableGen/DAGISelEmitter.cpp:1.188 llvm/utils/TableGen/DAGISelEmitter.cpp:1.189
--- llvm/utils/TableGen/DAGISelEmitter.cpp:1.188 Sat Mar 25 16:12:44 2006
+++ llvm/utils/TableGen/DAGISelEmitter.cpp Mon Mar 27 16:21:18 2006
@@ -649,7 +649,7 @@
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!");
More information about the llvm-commits
mailing list