[Statepoint] Use correct RegisterClass for spilling
authorDanila Malyutin <dmalyutin@azul.com>
Thu, 20 Jul 2023 07:10:26 +0000 (10:10 +0300)
committerDanila Malyutin <dmalyutin@azul.com>
Thu, 20 Jul 2023 13:00:00 +0000 (16:00 +0300)
commite1aa4e7b383e37442df6bb49f4f3db2069487765
treea12f04a2a9578fdd93809a21aa29e70950c18ba3
parent3203d3eac4d14f44d6e660d8835c10a42a07fee2
[Statepoint] Use correct RegisterClass for spilling

Copy propagation might have changed the register class of the register

Differential Revision: https://reviews.llvm.org/D155792
llvm/lib/CodeGen/FixupStatepointCallerSaved.cpp
llvm/test/CodeGen/AArch64/aarch64-fixup-statepoint-regs-crash.ll