mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-14 07:31:47 +00:00
fix a table size miscomputation, target opcodes are 2 bytes.
With this, the matcher actually works reasonably well, but crashes on larger examples in the scheduler. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96727 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
984e18823e
commit
bef2a515f6
@ -303,7 +303,7 @@ EmitMatcher(const MatcherNode *N, unsigned Indent, formatted_raw_ostream &OS) {
|
||||
for (unsigned i = 0, e = EN->getNumOperands(); i != e; ++i)
|
||||
OS << EN->getOperand(i) << ", ";
|
||||
OS << '\n';
|
||||
return 5+EN->getNumVTs()+EN->getNumOperands();
|
||||
return 6+EN->getNumVTs()+EN->getNumOperands();
|
||||
}
|
||||
case MatcherNode::CompleteMatch: {
|
||||
const CompleteMatchMatcherNode *CM = cast<CompleteMatchMatcherNode>(N);
|
||||
|
Loading…
Reference in New Issue
Block a user