<div dir="ltr"><div>Hi Noah</div><div>This year I have a new patch D102582 for enabling LTO in RISC-V.</div><div>D102582 changes the target-abi mismatched checking mechanism because <span style="color:rgb(0,0,0);font-family:"Segoe UI","Segoe UI Emoji","Segoe UI Symbol",Lato,"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:13px">allowing the module flag in IR</span></div><span style="color:rgb(0,0,0);font-family:"Segoe UI","Segoe UI Emoji","Segoe UI Symbol",Lato,"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:13px">to overwrite the empty target-abi options does not doable.</span><div><br></div><div>Then D71387 is used to enable LTO for RISC-V.<br></div><div><br></div><div>- Zakk</div><div><br></div><div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Alex Bradbury via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a>> 於 2021年6月27日 週日 下午5:57寫道:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Thu, 24 Jun 2021 at 16:07, Noah Hütter via llvm-dev<br>
<<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a>> wrote:<br>
><br>
> Hi all,<br>
><br>
> I wanted to use LTO with the rv32 target and stumbled upon some open<br>
> patches and wanted to ask what the status is on LTO for RISC-V?<br>
><br>
> Related patches:<br>
><br>
> [RISCV] enable LTO support, pass some options to linker.<br>
> <a href="https://reviews.llvm.org/D67409" rel="noreferrer" target="_blank">https://reviews.llvm.org/D67409</a><br>
> [WIP] TargetMachine Hook for Module Metadata<br>
> <a href="https://reviews.llvm.org/D72624" rel="noreferrer" target="_blank">https://reviews.llvm.org/D72624</a><br>
> pass -mabi to LTO linker only in RISC-V targets, enable RISC-V LTO<br>
> <a href="https://reviews.llvm.org/D71387" rel="noreferrer" target="_blank">https://reviews.llvm.org/D71387</a><br>
> [PoC][RISCV] enable LTO/ThinLTO on RISCV<br>
> <a href="https://reviews.llvm.org/D78035" rel="noreferrer" target="_blank">https://reviews.llvm.org/D78035</a><br>
><br>
><br>
> If this is still WIP I would be happy to contribute.<br>
<br>
Hi Noah - to my knowledge nobody has been pushing this work forwards<br>
of late, so contributions would definitely be welcome.<br>
<br>
Best,<br>
<br>
Alex<br>
_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a><br>
<a href="https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature">Best regards,<br>Kuan-Hsu<br><br><br></div></div>