Parallelism can be enabled using a new plugin option, jobs=N, where N is
the number of code generation threads.
Depends on D12260
Paths
| Differential D12308
gold-plugin: Implement parallel LTO code generation using llvm::LinkedCodeGen. ClosedPublic Authored by pcc on Aug 24 2015, 7:40 PM.
Details Summary Parallelism can be enabled using a new plugin option, jobs=N, where N is Depends on D12260
Diff Detail
Event Timelinepcc retitled this revision from to gold-plugin: Implement parallel LTO code generation using llvm::LinkedCodeGen.. pcc updated this object. pcc added a parent revision: D12260: CodeGen: Introduce LinkedCodeGen and teach LTOCodeGenerator to use it.. Comment Actions Few comment (I never used gold)
Comment Actions Address review comments
Comment Actions Needs a testcase. Do include one test using save-temps or obj-path showing the mulitple .o files that are created.
Comment Actions
This would be test/tools/gold/X86/parallel.ll, no?
Closed by commit rL246584: gold-plugin: Implement parallel LTO code generation using llvm::splitCodeGen. (authored by pcc). · Explain WhySep 1 2015, 1:41 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 33724 llvm/trunk/test/tools/gold/X86/parallel.ll
llvm/trunk/tools/gold/gold-plugin.cpp
|