Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Surely LLVM's inlining heuristics must be one of its strengths. I thought good inlining was almost all of optimisation these days, based on a Chandler Carruth talk on LLVM


If you are compiling a language like C++ and care a lot about code size, yes.

Most compilers don't have to, and then you just inline whatever you can until some estimated register pressure is reached at the call site.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: