<div dir="ltr">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.<div><br><div><div><div>What I would suggest is that we name our flags --thinlto-jobs and --lto-partitions.</div></div></div></div><div><br></div><div>Peter</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Oct 10, 2016 at 11:58 AM, Rui Ueyama <span dir="ltr"><<a href="mailto:ruiu@google.com" target="_blank">ruiu@google.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">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.</div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Mon, Oct 10, 2016 at 11:52 AM, Davide Italiano via llvm-commits <span dir="ltr"><<a href="mailto:llvm-commits@lists.llvm.org" target="_blank">llvm-commits@lists.llvm.org</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><span>On Mon, Oct 10, 2016 at 11:25 AM, Peter Collingbourne <<a href="mailto:peter@pcc.me.uk" target="_blank">peter@pcc.me.uk</a>> wrote:<br>
> We should expose this flag separately from the parallel LTO parallelism<br>
> level. See what we do in the gold plugin for example.<br>
><br>
> Peter<br>
><br>
<br>
</span>Fair enough. Any suggestion on the name? From what I see gold uses<br>
--jobs but that's too similar to what we use already. Maybe<br>
--thinlto-jobs ?<br>
</div></div><span class=""><div><div>______________________________<wbr>_________________<br>
llvm-commits mailing list<br>
<a href="mailto:llvm-commits@lists.llvm.org" target="_blank">llvm-commits@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/<wbr>mailman/listinfo/llvm-commits</a><br>
</div></div></span></blockquote></div><br></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">-- <div>Peter</div></div></div>
</div>