[PATCH] D91425: [DebugInfo] Skip dbg.value+derefs in RemoveRedundantDbgInstrs forward scan [3/3]
Orlando Cazalet-Hyams via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 13 07:17:05 PST 2020
Orlando created this revision.
Orlando added reviewers: vsk, aprantl, dblaikie, rnk.
Orlando added projects: LLVM, debug-info.
Herald added subscribers: llvm-commits, hiraditya.
Orlando requested review of this revision.
See comment 3 on PR47946 <https://bugs.llvm.org/show_bug.cgi?id=47946#c3>.
InlineLowerDbgDeclare looks for dbg.value+derefs which have been inserted before
call instructions by LowerDbgDeclare. However, without this patch these
intrinsics are eligable for removal by RemoveRedundantDbgInstr.
https://reviews.llvm.org/D91425
Files:
debuginfo-tests/dexter-tests/memvars/two-inlined-calls.c
llvm/lib/Transforms/Utils/BasicBlockUtils.cpp
llvm/test/DebugInfo/Generic/dont-remove-redundant-dbg-derefs.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D91425.305124.patch
Type: text/x-patch
Size: 6959 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201113/52996f69/attachment-0001.bin>
More information about the llvm-commits
mailing list