[PATCH] D74706: [WIP][DebugInfo][LiveDebugValues] Index variable location IDs by machine location

Jeremy Morse via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 17 05:30:49 PST 2020


jmorse created this revision.
Herald added subscribers: llvm-commits, arphaman, hiraditya, kristof.beyls.
Herald added a project: LLVM.

This patch isn't intended for review right now, instead for discussion in comparison with D74633 <https://reviews.llvm.org/D74633>.

This patch morphs the "VarMap" map of VarLoc -> ID numbers into a class that also indexes all variable ID numbers by their register / machine location. This speeds up various parts of LiveDebugValues that step over all variable locations in search of a particular machine location.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D74706

Files:
  llvm/lib/CodeGen/LiveDebugValues.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D74706.244945.patch
Type: text/x-patch
Size: 7585 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200217/9cc404f3/attachment.bin>


More information about the llvm-commits mailing list