[LLVMdev] Slow jitter.

Óscar Fuentes ofv at wanadoo.es
Tue Aug 25 16:51:25 PDT 2009


Chris Lattner <clattner at apple.com> writes:

> The JIT uses the entire code generator, which uses N^2 algorithms etc  
> in some cases.  If you care about compile time, I'd strongly suggest  
> using the "local" register allocator and the "-fast" mode.  This is  
> what we do for -O0 compiles and it is much much faster than the  
> defaults.

Okay, I'll do if some day I figure out how to pass those options to the
JIT :-)

> However, you get worse performing code out of the compiler.

This affects the quality of register allocation and instruction
selection, but optimization passes (inlining, mem2reg, etc) are still
effective, aren't they?

Thanks.

-- 
Óscar




More information about the llvm-dev mailing list