gold-plugin: Implement parallel LTO code generation using llvm::splitCodeGen.
authorPeter Collingbourne <peter@pcc.me.uk>
Tue, 1 Sep 2015 20:40:22 +0000 (20:40 +0000)
committerPeter Collingbourne <peter@pcc.me.uk>
Tue, 1 Sep 2015 20:40:22 +0000 (20:40 +0000)
commit0a1d37b2e85cc428a49e120ea5ac67003d0ab620
tree7aef1e7f35f779ec6e646fff655d3736e18547b4
parent374ff4e100d36629ed298192da782c7b0937bfb5
gold-plugin: Implement parallel LTO code generation using llvm::splitCodeGen.

Parallelism can be enabled using a new plugin option, jobs=N, where N is
the number of code generation threads.

Differential Revision: http://reviews.llvm.org/D12308

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@246584 91177308-0d34-0410-b5e6-96231b3b80d8
test/tools/gold/X86/parallel.ll [new file with mode: 0644]
tools/gold/gold-plugin.cpp