mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
now that (parallel) is gone and a variety of bugs in targets
are cleaned up, we can remove an old fixme. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@99741 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
aa4e3391c8
commit
b0e483e2c4
@ -2687,14 +2687,10 @@ SelectCodeCommon(SDNode *NodeToMatch, const unsigned char *MatcherTable,
|
|||||||
assert(ResSlot < RecordedNodes.size() && "Invalid CheckSame");
|
assert(ResSlot < RecordedNodes.size() && "Invalid CheckSame");
|
||||||
SDValue Res = RecordedNodes[ResSlot];
|
SDValue Res = RecordedNodes[ResSlot];
|
||||||
|
|
||||||
// FIXME2: Eliminate this horrible hack by fixing the 'Gen' program
|
assert(i < NodeToMatch->getNumValues() &&
|
||||||
// after (parallel) on input patterns are removed. This would also
|
NodeToMatch->getValueType(i) != MVT::Other &&
|
||||||
// allow us to stop encoding #results in OPC_CompleteMatch's table
|
NodeToMatch->getValueType(i) != MVT::Flag &&
|
||||||
// entry.
|
"Invalid number of results to complete!");
|
||||||
if (i >= NodeToMatch->getNumValues() ||
|
|
||||||
NodeToMatch->getValueType(i) == MVT::Other ||
|
|
||||||
NodeToMatch->getValueType(i) == MVT::Flag)
|
|
||||||
break;
|
|
||||||
assert((NodeToMatch->getValueType(i) == Res.getValueType() ||
|
assert((NodeToMatch->getValueType(i) == Res.getValueType() ||
|
||||||
NodeToMatch->getValueType(i) == MVT::iPTR ||
|
NodeToMatch->getValueType(i) == MVT::iPTR ||
|
||||||
Res.getValueType() == MVT::iPTR ||
|
Res.getValueType() == MVT::iPTR ||
|
||||||
|
Loading…
Reference in New Issue
Block a user