diff options
| author | Momchil Velikov <momchil.velikov@arm.com> | 2023-11-24 09:46:03 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-11-24 09:46:03 +0000 |
| commit | 6b87d84ff45d03c244e7511fba9359776ce27977 (patch) | |
| tree | 383ee70bf0d34f7c8e5e5186089d0ed95d8023cc /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | 59edb432256064ee4f66c3a30fd4875030c5166b (diff) | |
[MachineSink] Some more preserving of debug location when rematerialising an instruction to replace a COPY (#73155)
Somewhat similar to ef9bcace834e63f25bbbc5e8e2b615f89d85fb2f
([MachineSink][AArch64] Preserve debug location when rematerialising
an instruction to replace a COPY (#72685))
reuse the debug location of the COPY, iff the rematerialised instruction
did not have a location.
Fixes a regression in `DebugInfo/AArch64/constant-dbgloc.ll` after
enabling sink-and-fold.
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
