[PATCH] D118460: [DebugInfo][InstrRef] Use a depth-first search to reduce the lifetime of tracking information

Jeremy Morse via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 2 04:41:55 PST 2022


jmorse updated this revision to Diff 405219.
jmorse added a comment.

Strip out dead code as per recommendations.

Given that in the dead path, scopes were visited in a DenseMap order and thus it was nondeterministic, I suppose there's little value in keeping around code to visit scopes "the old way".


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

https://reviews.llvm.org/D118460

Files:
  llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp
  llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D118460.405219.patch
Type: text/x-patch
Size: 13740 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220202/8757fa14/attachment.bin>


More information about the llvm-commits mailing list