llvm-project/llvm/lib/CodeGen/LiveDebugValues
Stephen Tozer f9ac161af9 [DebugInfo][InstrRef] Fix error in copy handling in InstrRefLDV
Currently, an error exists when InstrRefBasedLDV observes transfers of
variables across copies, which causes it to lose track of variables
under certain circumstances, resulting in shorter lifetimes for those
variables as LDV gives up searching for live locations for them. This
patch fixes this issue by storing the currently tracked values in
the destination first, then updating them manually later without
clobbering or assigning them the wrong value.

Differential Revision: https://reviews.llvm.org/D128101
2022-07-11 13:38:23 +01:00
..
InstrRefBasedImpl.cpp [DebugInfo][InstrRef] Fix error in copy handling in InstrRefLDV 2022-07-11 13:38:23 +01:00
InstrRefBasedImpl.h [DebugInfo][InstrRef] Describe value sizes when spilt to stack 2022-05-12 15:52:55 +01:00
LiveDebugValues.cpp Cleanup codegen includes 2022-03-16 08:43:00 +01:00
LiveDebugValues.h Cleanup codegen includes 2022-03-16 08:43:00 +01:00
VarLocBasedImpl.cpp [CodeGen] Apply clang-tidy fixes for readability-redundant-smartptr-get (NFC) 2022-03-20 23:11:06 -07:00