mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
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
This commit is contained in:
parent
b92ca7d4b8
commit
2c4e65d460
@ -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!");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user