summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorTeresa Johnson <tejohnson@google.com>2018-07-19 22:25:56 +0000
committerTeresa Johnson <tejohnson@google.com>2018-07-19 22:25:56 +0000
commit0c432b1a70d29e60c3428198dd6dba9ebcc91851 (patch)
tree1620c6ad5124747d0ca5c3308359cd0bed510b73 /llvm/lib/CodeGen
parentc12c5d421fc92a8f689ce0cabc4962f69774d1be (diff)
downloadbcm5719-llvm-0c432b1a70d29e60c3428198dd6dba9ebcc91851.tar.gz
bcm5719-llvm-0c432b1a70d29e60c3428198dd6dba9ebcc91851.zip
[ThinLTO] Only emit referenced type id records in index files
Summary: Currently all type ids are emitted into the index file when it is written. For distributed ThinLTO, that meant that all type ids were being duplicated into every single distributed index file, regardless of whether they were referenced, leading to huge amounts of unnecessary duplication and size bloat. Keep track of the type id GUIDs actually referenced by the GV summary records being emitted, and only emit those type IDs. Add a new test, and fix test/Assembler/thinlto-summary.ll so that all type ids are referenced to prevent deletion in that test. Reviewers: pcc Subscribers: mehdi_amini, inglorion, eraman, steven_wu, dexonsmith, vitalybuka, llvm-commits Differential Revision: https://reviews.llvm.org/D49565 llvm-svn: 337503
Diffstat (limited to 'llvm/lib/CodeGen')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud