[PATCH] D120168: [Debuginfo][LSR] Add support for salvaging variadic dbg.value intrinsics [1/2]

Chris Jackson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 7 07:00:51 PST 2022


chrisjackson updated this revision to Diff 413450.
chrisjackson retitled this revision from "[Debuginfo][LSR][NFC] Add support for salvaging variadic dbg.value intrinsics [1/2] " to "[Debuginfo][LSR] Add support for salvaging variadic dbg.value intrinsics [1/2] ".
chrisjackson added a comment.

Reinstate the check for dbg.value that LSR has changed from single location-op to multi location-op. When LSR makes this change, the single location argument is changed to a DIArglist.  This patch now replaces the DIArglist with a single 'undef'. This will prevent the generation of invalid dbg.value that were causing the crash as reported by @Orlando .


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D120168/new/

https://reviews.llvm.org/D120168

Files:
  llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D120168.413450.patch
Type: text/x-patch
Size: 14047 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220307/9cb75210/attachment.bin>


More information about the llvm-commits mailing list