[LLVMdev] Function inlining and JIT

Óscar Fuentes ofv at wanadoo.es
Tue Aug 28 16:28:00 PDT 2012


My JIT compiler builds the optimization passes with code directly
copypasted from `opt'. Indeed, the code is optimized as required, except
from function inlining. If the LLVM assembler code emitted by my JIT
compiler is passed through `opt' with -O2 or higher, small functions are
inlined as expected.

Is there anything special about function inlining in the JIT?




More information about the llvm-dev mailing list