[PATCH] D147435: [Assignment Tracking] Ignore zero-sized fragments
Orlando Cazalet-Hyams via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 3 04:22:09 PDT 2023
Orlando created this revision.
Orlando added reviewers: StephenTozer, jmorse, scott.linder, jryans.
Orlando added a project: debug-info.
Herald added a subscriber: hiraditya.
Herald added a project: All.
Orlando requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Such dbg.assigns will occur if you write zero-sized memcpys (see https://reviews.llvm.org/D146987#4240016). I figure this is safer to handle this in AssignmentTrackingAnalysis (back end) rather than AssignmentTrackingPass (declare-to-assign) in case it is possible to reproduce this as a result of optimisations.
https://reviews.llvm.org/D147435
Files:
llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp
llvm/test/DebugInfo/assignment-tracking/X86/frag-size-zero.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D147435.510450.patch
Type: text/x-patch
Size: 5856 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230403/d7e73593/attachment.bin>
More information about the llvm-commits
mailing list