Reland "[LiveDebugValues] Emit the debug entry values"
authorDjordje Todorovic <djordje.todorovic@rt-rk.com>
Tue, 9 Jul 2019 08:36:34 +0000 (08:36 +0000)
committerDjordje Todorovic <djordje.todorovic@rt-rk.com>
Tue, 9 Jul 2019 08:36:34 +0000 (08:36 +0000)
commit12aca5de026bd15663596c392ac828f8078bca6b
tree95207504023a3f9cc3763fb381ad283dd57ed883
parent50e7f45b280f1e7922a6525ace10a6bd33f70fa7
Reland "[LiveDebugValues] Emit the debug entry values"

Emit replacements for clobbered parameters location if the parameter
has unmodified value throughout the funciton. This is basic scenario
where we can use the debug entry values.

([12/13] Introduce the debug entry values.)

Co-authored-by: Ananth Sowda <asowda@cisco.com>
Co-authored-by: Nikola Prica <nikola.prica@rt-rk.com>
Co-authored-by: Ivan Baev <ibaev@cisco.com>
Differential Revision: https://reviews.llvm.org/D58042

llvm-svn: 365444
llvm/include/llvm/CodeGen/MachineInstr.h
llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
llvm/lib/CodeGen/LiveDebugValues.cpp
llvm/lib/CodeGen/MachineVerifier.cpp
llvm/test/DebugInfo/MIR/X86/avoid-single-entry-value-location.mir [new file with mode: 0644]
llvm/test/DebugInfo/MIR/X86/dbginfo-entryvals.mir [new file with mode: 0644]
llvm/test/DebugInfo/MIR/X86/multiple-param-dbg-value-entry.mir [new file with mode: 0644]