[lld] r283787 - [LTO/Thin] Make the number of threads to run in the BE configurable.

Peter Collingbourne via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 10 12:09:22 PDT 2016


The gold plugin exposes --plugin-opt=jobs=N (which controls the number of
ThinLTO jobs) and --plugin-opt=lto-partitions=N (which controls the number
of parallel LTO codegen partitions). I don't think we want to expose any
flags with names based on plugin-opt, but it does make sense to me to use
similar names.

What I would suggest is that we name our flags --thinlto-jobs and
--lto-partitions.

Peter

On Mon, Oct 10, 2016 at 11:58 AM, Rui Ueyama <ruiu at google.com> wrote:

> I was thinking that gold has --lto-jobs option. Doesn't it? I'd think we
> want to use the same command line option names as long as it makes sense so
> that lld is a drop-in compatible with gold.
>
> On Mon, Oct 10, 2016 at 11:52 AM, Davide Italiano via llvm-commits <
> llvm-commits at lists.llvm.org> wrote:
>
>> On Mon, Oct 10, 2016 at 11:25 AM, Peter Collingbourne <peter at pcc.me.uk>
>> wrote:
>> > We should expose this flag separately from the parallel LTO parallelism
>> > level. See what we do in the gold plugin for example.
>> >
>> > Peter
>> >
>>
>> Fair enough. Any suggestion on the name? From what I see gold uses
>> --jobs but that's too similar to what we use already. Maybe
>> --thinlto-jobs ?
>> _______________________________________________
>> llvm-commits mailing list
>> llvm-commits at lists.llvm.org
>> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits
>>
>
>


-- 
-- 
Peter
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161010/d55cd026/attachment.html>


More information about the llvm-commits mailing list