<p dir="ltr">I don't believe this is supported in any way other than to load everything up anew and start again.</p>
<p dir="ltr">I know lang has some ideas about how to add spur for this and may have some more precise description of the current state of affairs.</p>
<div class="gmail_quote">On Aug 31, 2014 10:40 PM, "sara elshobaky" <<a href="mailto:sara.elshobaky@gmail.com">sara.elshobaky@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="EN-US" link="#0563C1" vlink="#954F72"><div><p class="MsoNormal">Hello,<u></u><u></u></p><p class="MsoNormal">I’m using MCJIT to run some loops on my ARM processor.<u></u><u></u></p><p class="MsoNormal">I was trying to perform some runtime optimizations on some function, and this requires recompiling the function at runtime.<u></u><u></u></p>
<p class="MsoNormal">I know that this feature is not available yet in MCJIT , and to modify a function I have to create a new module with the newly optimized code.<u></u><u></u></p><p class="MsoNormal">My questions are:<u></u><u></u></p>
<p><u></u><span>-<span style="font:7.0pt "Times New Roman"">          </span></span><u></u><span dir="LTR"></span>The newly created module can be added to the same execution engine or I have to create a new one? <u></u><u></u></p>
<p><u></u><span>-<span style="font:7.0pt "Times New Roman"">          </span></span><u></u><span dir="LTR"></span>Is it possible to swap the execution from the running module to the new optimized one at runtime? If yes, how? If no, are there any further solutions?<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Please advice<u></u><u></u></p><p class="MsoNormal">Sara<u></u><u></u></p></div></div><br>_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a>         <a href="http://llvm.cs.uiuc.edu" target="_blank">http://llvm.cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br>
<br></blockquote></div>