[PATCH] D118453: [DebugInfo][InstrRef][NFC] Free resources at an earlier stage, to avoid double accounting

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


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

Will land on the back of Orlando's SGTM; shifting to unique_ptr sounds good and doesn't appear to have a performance impact, I've spun that into D118774 <https://reviews.llvm.org/D118774>.


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

https://reviews.llvm.org/D118453

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D118453.405210.patch
Type: text/x-patch
Size: 3889 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220202/9e986269/attachment.bin>


More information about the llvm-commits mailing list