diff options
author | Danila Malyutin <dmalyutin@azul.com> | 2022-12-23 19:47:31 +0300 |
---|---|---|
committer | Danila Malyutin <dmalyutin@azul.com> | 2022-12-26 19:00:34 +0300 |
commit | 821a59588b5bddb1fe092291910ecf2744e1e49f (patch) | |
tree | 6ed7a6b0c2eacd2b1c9b630c1c0f6a458ee5d895 /llvm/tools/llvm-strings/llvm-strings.cpp | |
parent | ff25800d4ba0b577a44dc918da7a1fb3c29fdb13 (diff) | |
download | llvm-821a59588b5bddb1fe092291910ecf2744e1e49f.zip llvm-821a59588b5bddb1fe092291910ecf2744e1e49f.tar.gz llvm-821a59588b5bddb1fe092291910ecf2744e1e49f.tar.bz2 |
[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
Diffstat (limited to 'llvm/tools/llvm-strings/llvm-strings.cpp')
0 files changed, 0 insertions, 0 deletions