aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2017-04-17 23:43:49 +0000
committerPeter Collingbourne <peter@pcc.me.uk>2017-04-17 23:43:49 +0000
commit76423dce15107a7ad772677eefba5597fcb59f98 (patch)
tree28c1f8b0ca5d55aecffb72f309a34e338a07b17c /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parenta9b3d0975af225794fbfb9349d271d67670a8d19 (diff)
downloadllvm-76423dce15107a7ad772677eefba5597fcb59f98.zip
llvm-76423dce15107a7ad772677eefba5597fcb59f98.tar.gz
llvm-76423dce15107a7ad772677eefba5597fcb59f98.tar.bz2
Object: Shrink the size of irsymtab::Symbol by a word. NFCI.
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 D32061) by about 1%. Differential Revision: https://reviews.llvm.org/D32070 llvm-svn: 300514
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions