<div dir="ltr">Hi Riyaz, Renato,<div><br></div><div>I've updated MCJIT and the Fibonacci example in r272455. The example performance should now be comparable to llvm-3.4. I'll update it again in the near future to use ORC rather than MCJIT.</div><div><br></div><div>Riyaz - You may want to consider moving straight to ORC, rather than MCJIT. ORC provides a superset of MCJIT's functionality (including support for lazy JITing on some platforms), and is better at managing memory. The new tutorial series that I'm working on might be helpful: <a href="http://llvm.org/docs/tutorial/BuildingAJIT1.html">http://llvm.org/docs/tutorial/BuildingAJIT1.html</a> . </div><div><br></div><div>- Lang.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jun 10, 2016 at 5:06 PM, Lang Hames <span dir="ltr"><<a href="mailto:lhames@gmail.com" target="_blank">lhames@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Riyaz, Renato,<div><br></div><div>Attempting to run Fibonacci from LLVM 3.8.1 on Darwin I get:</div><div><br></div><div><font face="monospace, monospace">./fib381: Failed to construct ExecutionEngine: Interpreter has not been linked in.<br></font></div><div><br></div><div>This suggests that the reason for the slowdown isn't in the JIT itself. Instead, when we removed the old JIT we probably didn't update the Fibonacci example to request a JIT at all, so now it's falling back to the interpreter. I'm just digging in to confirm this now, and will update the example code as needed to fix this.</div><div><br></div><div>Cheers,</div><div>Lang.</div><div><br></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jun 10, 2016 at 5:38 AM, Renato Golin via llvm-dev <span dir="ltr"><<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 10 June 2016 at 05:31, Riyaz Puthiyapurayil via llvm-dev<br>
<span><<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a>> wrote:<br>
> We have been using LLVM 3.4 and are currently migrating to LLVM 3.8.1. We<br>
> have been using the Old JIT and since it has been removed since 3.6, we have<br>
> to use MCJIT.<br>
<br>
</span>Hi Riyaz,<br>
<br>
I don't know much about it, but MCJIT was also replaced, by a new JIT<br>
called "ORC".<br>
<br>
The Kaleidoscope example has been updated, you can look there:<br>
<br>
<a href="http://llvm.org/docs/tutorial/LangImpl4.html" rel="noreferrer" target="_blank">http://llvm.org/docs/tutorial/LangImpl4.html</a><br>
<br>
cheers,<br>
--renato<br>
_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a><br>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>