[TwoAddressInstructionPass] Relax assert in statepoint processing.
authorDenis Antrushin <dantrushin@gmail.com>
Wed, 1 Jun 2022 11:58:32 +0000 (18:58 +0700)
committerDenis Antrushin <dantrushin@gmail.com>
Wed, 1 Jun 2022 14:34:52 +0000 (21:34 +0700)
commit7047d79fde88ed5f189101186f1267513a146eb9
treef9e90c327feaa567ed428afb6a0b0ee6adced3be
parent0a9688594062b6303aa89ad0775c9814da8d1a1e
[TwoAddressInstructionPass] Relax assert in statepoint processing.

D124631 added special processing for STATEPOINT instructions.
It appears that assertion added there is too strong. We can get two
tied operands with the same register tied to different defs. If we
hit such case, do not process it in statepoint-specific code and
delegate it to common case.
llvm/lib/CodeGen/TwoAddressInstructionPass.cpp
llvm/test/CodeGen/X86/statepoint-vreg-twoaddr.mir