MC: Pack MCSymbol::Index in with the bitfield in MCSymbol
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Fri, 22 May 2015 05:59:05 +0000 (05:59 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Fri, 22 May 2015 05:59:05 +0000 (05:59 +0000)
commit005bf5f8b05042d0a93feeb95def6bba5347ba78
tree4af01655463a7e42b4b2ab3b765110962bc6e39c
parent6c3a7cbe54e620f0422bd3f883a4c133555ffb40
MC: Pack MCSymbol::Index in with the bitfield in MCSymbol

Save a pointer for each `MCSymbol`, bringing `llc` memory usage down
from 920 MB to 914 MB, around ~0.6%.

(I'm looking at `llc` memory usage on `verify-uselistorder.lto.opt.bc`;
see r236629 for details.)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@238003 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/MC/MCSymbol.h