[PATCH] D32061: [wip] Bitcode: Write the irsymtab to disk.

Peter Collingbourne via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 13 16:18:28 PDT 2017


pcc created this revision.

Fixes PR27551.

This is just to show where I'm going with the irsymtab changes. With this and
its dependencies, no-op incremental ThinLTO link time for Chromium decreases
to about 35s and total .bc file size increases to 1225420580 bytes (versus [0]).

This needs more tests and needs to be split into multiple patches. I also
want to try to shrink the size of the irsymtab further.

[0] http://lists.llvm.org/pipermail/llvm-dev/2017-April/111828.html

Depends on https://reviews.llvm.org/D31838

Depends on https://reviews.llvm.org/D31921

Depends on https://reviews.llvm.org/D31922


https://reviews.llvm.org/D32061

Files:
  llvm/include/llvm/Bitcode/BitcodeReader.h
  llvm/include/llvm/Bitcode/BitcodeWriter.h
  llvm/include/llvm/Bitcode/LLVMBitCodes.h
  llvm/include/llvm/Object/IRSymtab.h
  llvm/lib/Bitcode/Reader/BitcodeReader.cpp
  llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
  llvm/lib/Object/IRSymtab.cpp
  llvm/lib/Transforms/IPO/ThinLTOBitcodeWriter.cpp
  llvm/test/Bitcode/invalid.test
  llvm/test/Bitcode/thinlto-alias.ll
  llvm/test/Bitcode/thinlto-function-summary-callgraph-pgo.ll
  llvm/test/Bitcode/thinlto-function-summary-callgraph-profile-summary.ll
  llvm/test/Bitcode/thinlto-function-summary-callgraph.ll
  llvm/test/Bitcode/thinlto-function-summary-refgraph.ll
  llvm/test/Bitcode/thinlto-function-summary.ll
  llvm/test/ThinLTO/X86/autoupgrade.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D32061.95236.patch
Type: text/x-patch
Size: 25737 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170413/affb8151/attachment.bin>


More information about the llvm-commits mailing list