[PATCH] D43073: [CodeGen] Optimize AccelTable

Pavel Labath via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 8 07:48:35 PST 2018


labath created this revision.
labath added reviewers: JDevlieghere, aprantl.

The class contained arrays of two structures (DataArray and HashData).
These structures were in 1:1 correspondence, and one of them contained
pointers to the other (and *both* contained a "Name" field). By merging
these two structures into one, we can save a bit of space without
negatively impacting much of anything.


Repository:
  rL LLVM

https://reviews.llvm.org/D43073

Files:
  include/llvm/CodeGen/AccelTable.h
  lib/CodeGen/AsmPrinter/AccelTable.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D43073.133422.patch
Type: text/x-patch
Size: 5657 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180208/f9e8803a/attachment.bin>


More information about the llvm-commits mailing list