[PATCH] D80684: [LiveDebugValues] Speed up removeEntryValue, NFC

Vedant Kumar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 27 23:24:58 PDT 2020


vsk updated this revision to Diff 266751.
vsk added a comment.

I've generalize the patch a bit:

- Assign a reserved location for SpillLocKind VarLocs.
- Share the reserved location between all EntryValue*Kind VarLocs.
- Get rid of `for (uint64_t ID : OpenRanges.getVarLocs())`. We should always iterate over a subset of open VarLocs.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D80684

Files:
  llvm/include/llvm/ADT/CoalescingBitVector.h
  llvm/lib/CodeGen/LiveDebugValues.cpp
  llvm/test/DebugInfo/MIR/X86/entry-values-diamond-bbs.mir
  llvm/unittests/ADT/CoalescingBitVectorTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D80684.266751.patch
Type: text/x-patch
Size: 13225 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200528/ab7397a5/attachment-0001.bin>


More information about the llvm-commits mailing list