mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-21 19:32:16 +00:00
make this check a bit more generous, it may be outliving its
utility. Down to 6 ppc failures. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96751 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
1e4b8bc93b
commit
1d4cb41fdd
@ -717,6 +717,8 @@ SDNode *SelectCodeCommon(SDNode *NodeToMatch, const unsigned char *MatcherTable,
|
||||
assert(ResSlot < RecordedNodes.size() && "Invalid CheckSame");
|
||||
SDValue Res = RecordedNodes[ResSlot];
|
||||
assert((NodeToMatch->getValueType(i) == Res.getValueType() ||
|
||||
NodeToMatch->getValueType(i) == MVT::iPTR ||
|
||||
Res.getValueType() == MVT::iPTR ||
|
||||
NodeToMatch->getValueType(i).getSizeInBits() ==
|
||||
Res.getValueType().getSizeInBits()) &&
|
||||
"invalid replacement");
|
||||
|
Loading…
x
Reference in New Issue
Block a user