[llvm-dev] JIT parameter in createTargetMachine

Lang Hames via llvm-dev llvm-dev at lists.llvm.org
Thu Jan 10 17:41:28 PST 2019

Hi Christoph,

If your TargetMachine is being used to generate JIT'd code then the JIT
argument should be set to 'true'.

What target/code-model are you using? Were you able to confirm your


On Mon, Dec 10, 2018 at 11:23 AM Christoph Höger via llvm-dev <
llvm-dev at lists.llvm.org> wrote:

> Dear all,
> what does the parameter 'JIT' mean in Target::createTargetMachine ? It is
> not documented here:
> http://llvm.org/doxygen/classllvm_1_1Target.html#a3a99d5ba8f023d04d34f652af7494b35
> I have ported a rather old code base from llvm 3.x to 7.0 and now I might
> be observing a performance regression. I stumbled upon this new parameter
> when changing the codemodel and wondered whether it should be set to false
> or true  (we use a JIT execution engine).
> regards,
> Christoph
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20190110/66f61b8d/attachment.html>

More information about the llvm-dev mailing list