2023 EuroLLVM - Practical Global Merge Function with ThinLTO

Published: 03 July 2023
on channel: LLVM
509
8

2023 European LLVM Developers' Meeting
https://llvm.org/devmtg/2023-05/
------
Practical Global Merge Function with ThinLTO
Speaker: Kyungwoo Lee
------
Slides: https://llvm.org/devmtg/2023-05/slide...
-----
Function merging is an important technique for reducing code size by combining identical or similar functions into a single function. This technique has been extensively researched in both industry and academia. However, the existing methodologies have not been evaluated with -Oz, which includes aggressive outlinings, and the linker's identical code folding, which can already fold identical pieces of code. Additionally, none of these methodologies suggest a sound approach that works globally with ThinLTO, which is crucial when building large apps. In this talk, we propose our global merge function (GMF), which utilizes global merge information obtained from a prior codegen run and optimistically creates merging instances within each module context independently. Our evaluation showed that GMF can reduce code size in real-world iOS apps by up to 3.5% on top of state-of-the-art outliners that are fully enabled with ThinLTO.
-----
Videos Edited by Bash Films: http://www.BashFilms.com


On this page of the site you can watch the video online 2023 EuroLLVM - Practical Global Merge Function with ThinLTO with a duration of hours minute second in good quality, which was uploaded by the user LLVM 03 July 2023, share the link with friends and acquaintances, this video has already been watched 509 times on youtube and it was liked by 8 viewers. Enjoy your viewing!