[PATCH] D65368: [DebugInfo] LiveDebugValues: Don't drop fragment information when restoring spills

Jeremy Morse via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Jul 27 06:30:16 PDT 2019


jmorse created this revision.
jmorse added reviewers: aprantl, vsk, wolfgangp.
Herald added subscribers: llvm-commits, hiraditya.
Herald added a project: LLVM.

See PR42773, the MIR function added in this patch causes trunk to fire an assertion, due to the repercussions of the LiveDebugValues spill restorer dropping fragment information.

This patch preserves that fragment information; it still loses extra expression information, however at the very least it doesn't cause llvm to crash.


Repository:
  rL LLVM

https://reviews.llvm.org/D65368

Files:
  llvm/lib/CodeGen/LiveDebugValues.cpp
  llvm/test/DebugInfo/MIR/X86/live-debug-values-restore.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D65368.212053.patch
Type: text/x-patch
Size: 7458 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190727/ed3bc218/attachment.bin>


More information about the llvm-commits mailing list