mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
Emit a type matching check for ComplexPatterns.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25392 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e5d9343377
commit
57c517d30c
@ -556,6 +556,8 @@ static std::vector<unsigned char> getIntrinsicType(Record *R, bool NotRegisters,
|
||||
// Using a VTSDNode or CondCodeSDNode.
|
||||
return Other;
|
||||
} else if (R->isSubClassOf("ComplexPattern")) {
|
||||
if (NotRegisters)
|
||||
return Unknown;
|
||||
std::vector<unsigned char>
|
||||
ComplexPat(1, TP.getDAGISelEmitter().getComplexPattern(R).getValueType());
|
||||
return ComplexPat;
|
||||
|
Loading…
Reference in New Issue
Block a user