mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-02 22:04:55 +00:00
enhance my hack for flags handling, this allows us to pass
CodeGen/X86/pr2182.ll. Down to 13 x86 failures out of ~1100 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96770 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
ccfea35efb
commit
74fd536158
@ -740,7 +740,8 @@ SDNode *SelectCodeCommon(SDNode *NodeToMatch, const unsigned char *MatcherTable,
|
||||
// after (parallel) on input patterns are removed. This would also
|
||||
// allow us to stop encoding #results in OPC_CompleteMatch's table
|
||||
// entry.
|
||||
if (NodeToMatch->getNumValues() <= i)
|
||||
if (NodeToMatch->getNumValues() <= i ||
|
||||
NodeToMatch->getValueType(i) == MVT::Other)
|
||||
break;
|
||||
assert((NodeToMatch->getValueType(i) == Res.getValueType() ||
|
||||
NodeToMatch->getValueType(i) == MVT::iPTR ||
|
||||
|
Loading…
Reference in New Issue
Block a user