[llvm] r246236 - CodeGen: Introduce splitCodeGen and teach LTOCodeGenerator to use it.

Mehdi Amini via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 11 16:22:13 PST 2016


> On Feb 11, 2016, at 4:20 PM, Hans Wennborg via llvm-commits <llvm-commits at lists.llvm.org> wrote:
> 
> On Thu, Aug 27, 2015 at 4:37 PM, Peter Collingbourne via llvm-commits
> <llvm-commits at lists.llvm.org> wrote:
>> Author: pcc
>> Date: Thu Aug 27 18:37:36 2015
>> New Revision: 246236
>> 
>> URL: http://llvm.org/viewvc/llvm-project?rev=246236&view=rev
>> Log:
>> CodeGen: Introduce splitCodeGen and teach LTOCodeGenerator to use it.
>> 
>> llvm::splitCodeGen is a function that implements the core of parallel LTO
>> code generation. It uses llvm::SplitModule to split the module into linkable
>> partitions and spawning one code generation thread per partition. The function
>> produces multiple object files which can be linked in the usual way.
>> 
>> This has been threaded through to LTOCodeGenerator (and llvm-lto for testing
>> purposes). Separate patches will add parallel LTO support to the gold plugin
>> and lld.
>> 
>> Differential Revision: http://reviews.llvm.org/D12260
> 
> How far did this get? Something for the release notes?

FWIW I vote for mentioning this in the release notes: while still "rough" it can be pretty interesting for people to know about this feature.

-- 
Mehdi


> 
> - Hans
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits



More information about the llvm-commits mailing list