[PATCH] D27324: IPO: Introduce ThinLTOBitcodeWriter pass.
Peter Collingbourne via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 1 16:59:21 PST 2016
pcc created this revision.
pcc added reviewers: mehdi_amini, tejohnson.
pcc added a subscriber: llvm-commits.
Herald added a subscriber: mgorny.
This pass prepares a module containing type metadata for ThinLTO by splitting
it into regular and thin LTO parts if possible, and writing both parts to
a multi-module bitcode file. Modules that do not contain type metadata are
written unmodified as a single module.
All globals with type metadata are added to the regular LTO module, and
the rest are added to the thin LTO module.
https://reviews.llvm.org/D27324
Files:
llvm/include/llvm/InitializePasses.h
llvm/include/llvm/Transforms/IPO.h
llvm/lib/Transforms/IPO/CMakeLists.txt
llvm/lib/Transforms/IPO/ThinLTOBitcodeWriter.cpp
llvm/test/Transforms/ThinLTOBitcodeWriter/no-type-md.ll
llvm/test/Transforms/ThinLTOBitcodeWriter/split-internal-typeid.ll
llvm/test/Transforms/ThinLTOBitcodeWriter/split-internal1.ll
llvm/test/Transforms/ThinLTOBitcodeWriter/split-internal2.ll
llvm/test/Transforms/ThinLTOBitcodeWriter/split.ll
llvm/test/Transforms/ThinLTOBitcodeWriter/unsplittable.ll
llvm/tools/opt/opt.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D27324.79999.patch
Type: text/x-patch
Size: 18711 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161202/d801e4a3/attachment.bin>
More information about the llvm-commits
mailing list