[PATCH] D32070: Object: Shrink the size of irsymtab::Symbol by a word. NFCI.

Peter Collingbourne via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 13 19:56:56 PDT 2017


pcc created this revision.

Instead of storing an UncommonIndex on the Symbol, use a flag bit to store
whether the Symbol has an Uncommon. This shrinks Chromium's .bc files (after
https://reviews.llvm.org/D32061) by about 1%.


https://reviews.llvm.org/D32070

Files:
  llvm/include/llvm/Object/IRSymtab.h
  llvm/lib/Object/IRSymtab.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D32070.95263.patch
Type: text/x-patch
Size: 5602 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170414/75704743/attachment.bin>


More information about the llvm-commits mailing list