diff options
author | Danila Malyutin <danilaml@users.noreply.github.com> | 2024-02-13 22:58:01 +0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-13 21:58:01 +0300 |
commit | e20462a069670c24ff512cca32688a29803852f4 (patch) | |
tree | cbdc24483bae11b0bee52163f6d0a5aecd82bf91 /lldb/source/Commands/CommandObjectCommands.cpp | |
parent | f79f58d5f1be370ccc212236e1c10b55835eb3c7 (diff) | |
download | llvm-e20462a069670c24ff512cca32688a29803852f4.zip llvm-e20462a069670c24ff512cca32688a29803852f4.tar.gz llvm-e20462a069670c24ff512cca32688a29803852f4.tar.bz2 |
[StatepointLowering] Use Constant instead of TargetConstant for undef value (#81635)
Prevents isel errors when trying to lower gc relocate of undef value
(which turns into CopyToReg of TargetConstant). Such relocates may occur
after DCE (e.g. after GVN removes some dead blocks) if there are not
passes like instcombine scheduled after to clean them up.
Fixes #80294
---------
Co-authored-by: Matt Arsenault <arsenm2@gmail.com>
Diffstat (limited to 'lldb/source/Commands/CommandObjectCommands.cpp')
0 files changed, 0 insertions, 0 deletions