Hi Alan,<div>Here are the patches that port merge similar functions to the ThinLTO</div><div><br></div><div>-<a href="https://reviews.llvm.org/D52896">https://reviews.llvm.org/D52896</a></div><div>-<a href="https://reviews.llvm.org/D52898">https://reviews.llvm.org/D52898</a></div><div>-<a href="https://reviews.llvm.org/D52966">https://reviews.llvm.org/D52966</a></div><div>-<a href="https://reviews.llvm.org/D53253">https://reviews.llvm.org/D53253</a></div><div>-<a href="https://reviews.llvm.org/D53254">https://reviews.llvm.org/D53254</a></div><div><br></div><div>Before merging the patches we wanted to improve the comparison of IR Types. That project started in the GSoC this year and the patch to improve comparison or IR Types is posted by Vishal:</div><div><br></div><div><a href="https://reviews.llvm.org/D82892">https://reviews.llvm.org/D82892</a></div><div><br></div><div>-Aditya<br><br><br>—<br>On Monday, October 26, 2020, Phipps, Alan <<a href="mailto:a-phipps@ti.com">a-phipps@ti.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="EN-US" link="blue" vlink="purple">
<div>
<p class="MsoNormal">Hello! I heard “similar function merging” discussed at the Developers’ Meeting a couple of weeks ago, and I wanted to look into this more for potential code size reduction as it focused on merging functions with small differences rather
than identical function merging.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Is <a href="https://reviews.llvm.org/D85616" target="_blank">https://reviews.llvm.org/<wbr>D85616</a> the latest review for this pass? Any ideas on when it will be able to be upstreamed?
<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Can this pass be run even when –ffunction-sections is enabled? Also, I understand this pass is most useful during LTO, when there is better knowledge as to the functions that are kept in the final link.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Thanks!<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">-Alan Phipps<u></u><u></u></p>
</div>
</div>
</blockquote></div><br><br>-- <br><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">Aditya Kumar<div>Compiler Engineer</div><div><a href="https://bitsimplify.com" target="_blank">https://bitsimplify.com</a><br></div></div></div></div></div></div><br>