[PATCH] D43427: [RegAllocFast] Salvage debug values when killing operands

Vedant Kumar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 21 14:21:24 PST 2018


vsk updated this revision to Diff 135330.
vsk marked an inline comment as done.
vsk retitled this revision from "[RegAllocFast] Salvage debug values when killing operands (WIP)" to "[RegAllocFast] Salvage debug values when killing operands".
vsk edited the summary of this revision.
vsk added a reviewer: sdesmalen.
vsk added a comment.

- Only update LiveDbgValsMap when a dbg_value has been salvaged. Test coverage for this is provided by the fission-ranges.ll test added in r325438. Prior to this update, the test would fail because extra locations were generated for the wrong spills.


https://reviews.llvm.org/D43427

Files:
  include/llvm/CodeGen/MachineRegisterInfo.h
  lib/CodeGen/MachineRegisterInfo.cpp
  lib/CodeGen/RegAllocFast.cpp
  test/CodeGen/X86/salvage-dbg-val-regallocfast.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D43427.135330.patch
Type: text/x-patch
Size: 12471 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180221/34a547f0/attachment.bin>


More information about the llvm-commits mailing list