[llvm-dev] Similar Function Merging

Phipps, Alan via llvm-dev llvm-dev at lists.llvm.org
Mon Oct 26 16:28:29 PDT 2020


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.

Is https://reviews.llvm.org/D85616 the latest review for this pass?  Any ideas on when it will be able to be upstreamed?

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.

Thanks!

-Alan Phipps
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20201026/25d79670/attachment.html>


More information about the llvm-dev mailing list