[LLVMdev] inline functions

Duncan Sands baldrick at free.fr
Fri Oct 21 08:25:50 PDT 2011


Hi Julien,

> I have an LLVM bitcode file, with several functions in it.
> I'm trying to inline these functions as much as possible, so that I can
> obtain a big single function.
> There is opt -inline, but it is not sufficient.

mark your functions with the alwaysinline attribute.

Ciao, Duncan.



More information about the llvm-dev mailing list