[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
Thu Jan 14 02:51:38 PST 2021


Orlando updated this revision to Diff 316604.
Orlando added a comment.

Address feedback from @bjope:
+ Change comment for dbg.value+derefs in `ShouldRemove` lambda.
+ Update the test to check that the backward scan removes adjacent duplicate dbg.value+derefs still.


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

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.316604.patch
Type: text/x-patch
Size: 7387 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210114/5ba9062c/attachment-0001.bin>


More information about the llvm-commits mailing list