TLDR Web Dev · ARTICLES & TUTORIALS
WHAT HAPPENS IF WE INLINE EVERYTHING?
Summary from the TLDR Web Dev newsletter
Modifying LLVM to always inline every function call results in the compiler bypassing typical profitability checks and reveals unexpected interactions with other optimization passes. While compilation times and executable sizes drastically increase, runtime performance is not much worse and can even be slightly better.