Christoph Höger via llvm-dev
2018-Dec-10 19:22 UTC
[llvm-dev] JIT parameter in createTargetMachine
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 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20181210/eaf226df/attachment.html>
Lang Hames via llvm-dev
2019-Jan-11 01:41 UTC
[llvm-dev] JIT parameter in createTargetMachine
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 regression? Cheers, Lang. 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>