Files
clang-p2996/llvm/lib/CodeGen/TwoAddressInstructionPass.cpp
Danila Malyutin 821a59588b [TwoAddressInstruction] Constrain RegClass when processing a statepoint
This transformation could've triggered a verifier assert if RegA and RegB
were of different reg classes. Fix this by constraining as the comment
for replaceRegWith suggests.

Differential Revision: https://reviews.llvm.org/D140672
2022-12-26 19:00:34 +03:00

70 KiB