<div dir="ltr">Hi Russell,<div><br></div><div>SimpleCompiler is just a baseline/proof-of-concept. My hope is that it will be joined by more sophisticated compiler classes. If you are interested in contributing such a class back to the LLVM mainline that would be much appreciated. :)</div><div><br></div><div>Cheers,</div><div>Lang.</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jul 6, 2015 at 1:30 PM, Russell Hadley <span dir="ltr"><<a href="mailto:rhadley@microsoft.com" target="_blank">rhadley@microsoft.com</a>></span> wrote:<br><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">Hi Lang,<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">I’m looking at extending the compilation passes used in the LLILC JIT and it seems like the simplest thing is to make a copy of the SimpleCompiler functor into the LLILC code and then modify it for the phases I want to run.    But I was
 wondering if this was the best approach.  Do you expect different clients to create their own compiler functors or do you imagine that SimpleCompiler will be joined by more sophisticated siblings that are more configurable with respect to what’s run phase
 wise?<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Initial PR of the copied code (prior to us starting to modify it) is here:
<a href="https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_dotnet_llilc_pull_685&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=Mfk2qtn1LTDThVkh6-oGglNfMADXfJdty4_bhmuhMHA&m=e-Bn2QS3gvuBbdBih7mSXmb2uokuJIVtW8pi5NiPOVM&s=GLulfwnAu8BhYbgeou9gTT2zOO8yWYKdCIeg3SP7s9Q&e=" target="_blank">https://github.com/dotnet/llilc/pull/685</a><u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Thanks,<span class="HOEnZb"><font color="#888888"><u></u><u></u></font></span></p><span class="HOEnZb"><font color="#888888">
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">-R  <u></u><u></u></p>
</font></span></div>
</div>

</blockquote></div><br></div>