[LLVMdev] Slow jitter.

Óscar Fuentes ofv at wanadoo.es
Wed Aug 26 06:22:25 PDT 2009


Albert Graef <Dr.Graef at t-online.de> writes:

> Óscar Fuentes wrote:
>> Okay, I'll do if some day I figure out how to pass those options to the
>> JIT :-)
>
> Well, the -fast option is easy to get:
>
>   MP = new ExistingModuleProvider(module);
>   string error;
>   JIT = ExecutionEngine::create(MP, false, &error, llvm::CodeGenOpt::None);

Thanks Albert.

With this change the time used by code generation goes down from 33
seconds to 26.5.

-- 
Óscar




More information about the llvm-dev mailing list