summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 59bbf5a)
raw | patch | inline | side by side (parent: 59bbf5a)
author | Matt Arsenault <Matthew.Arsenault@amd.com> | |
Fri, 15 Nov 2013 22:18:19 +0000 (22:18 +0000) | ||
committer | Matt Arsenault <Matthew.Arsenault@amd.com> | |
Fri, 15 Nov 2013 22:18:19 +0000 (22:18 +0000) |
The error reported the number of explicit operands,
but that isn't what is checked. In my case, this
resulted in the confusing errors
"Too few operands." followed shortly by
"8 operands expected, but 8 given."
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194862 91177308-0d34-0410-b5e6-96231b3b80d8
but that isn't what is checked. In my case, this
resulted in the confusing errors
"Too few operands." followed shortly by
"8 operands expected, but 8 given."
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194862 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/MachineVerifier.cpp | patch | blob | history |
index c57ce9c65c80bc51f36f6f883a4656c059b8f6e9..d61470c173bcd0713dc99ec9f486851f309739e1 100644 (file)
if (MI->getNumOperands() < MCID.getNumOperands()) {
report("Too few operands", MI);
*OS << MCID.getNumOperands() << " operands expected, but "
- << MI->getNumExplicitOperands() << " given.\n";
+ << MI->getNumOperands() << " given.\n";
}
// Check the tied operands.