<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="DE" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-GB" style="mso-fareast-language:EN-US">Hey Lang,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="mso-fareast-language:EN-US">Not surprising I guess – but lately I’m much interested into
</span><span lang="EN-GB" style="color:black">MaterializationUnit and MaterializationResponsibility xD<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="color:black">Not only because I’m total stuck there again, but also because I wonder what is possible with it besides from what I failed to do.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="color:black"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="color:black">I know that this might be to much for the BoF, but might be nice for the documentation.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="color:black"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="color:black">Kind greetings<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="color:black">Björn</span><span lang="EN-GB" style="mso-fareast-language:EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US">From:</span></b><span lang="EN-US"> Lang Hames <lhames@gmail.com>
<br>
<b>Sent:</b> 06 October 2020 04:29<br>
<b>To:</b> Andres Freund <andres@anarazel.de><br>
<b>Cc:</b> Praveen Velliengiri <praveenvelliengiri@gmail.com>; LLVM Developers Mailing List <llvm-dev@lists.llvm.org>; David Blaikie <dblaikie@gmail.com>; Geoff Levner <glevner@gmail.com>; Christian Schafmeister <meister@temple.edu>; Stefan Gränitz <stefan.graenitz@gmail.com>;
 guangnan he <gnhe2009@gmail.com>; Jacob Lifshay <programmerjake@gmail.com>; Gaier, Bjoern <Bjoern.Gaier@horiba.com>; Jared Wyles <jared.wyles@gmail.com>; Vivien Millet <vivien.millet@gmail.com>; Chris Bieneman <beanz@apple.com><br>
<b>Subject:</b> Re: LLVM Developers Meeting JIT BoF -- Request for Topics of Interest<o:p></o:p></span></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal">Hi All,<o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">I've listed the current topics of interest below, along with some notes on each. We only have 30 minutes so we'll barely scratch the surface of these during the BoF itself. My main aims are for you to meet each other, identify potential
 areas of collaboration, identify things that I can do to unblock you, and get the ball rolling on some conversations that we can continue on the mailing lists. It looks like we'll have an opportunity to set up impromptu meet-ups too (see <a href="https://www.youtube.com/watch?v=Qpbefagv6Ts">https://www.youtube.com/watch?v=Qpbefagv6Ts</a>)
 so if you want to do a deeper dive on a topic area we can set one or more of those up -- just let me know in this thread.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Topics so far:<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">A very brief status update on OrcV2 and JITLink.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Future / Potential use-cases for the JIT.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">  -- LLDB, the Swift interpreter, REPLs.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Compile time improvements<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">  -- Experimenting with / performance-testing custom JIT pipelines (any volunteers?)<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">  -- Compile-time improvements for the existing pipeline. This is probably a broad community project, but JIT users might have interesting workloads / results to contribute.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">  -- Hiding compile times with concurrency.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Profiling, Debugging, PGO<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">  -- Profiling and Debugging support (especially via JITLink)<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">  -- How do we integrate PGO (any volunteers to experiment with this?)<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Reoptimization<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">  -- What it is.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">  -- Any volunteers to start working on API design and experiments?<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">  -- Is resource management a problem (do we need to free unoptimized code) and if so how do we make it safe?<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">I'll add another of my own topics in here:<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Documentation<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">  -- What would make life better for Orc beginners?<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">  -- What would make life better for Orc experts?<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">  -- What would make it easier for you to contribute to Orc?<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">  -- Any volunteers to help with the documentation effort?<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Looking forward to seeing you all on Thursday.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">-- Lang.<o:p></o:p></p>
</div>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal">On Fri, Oct 2, 2020 at 11:21 AM Andres Freund <<a href="mailto:andres@anarazel.de" target="_blank">andres@anarazel.de</a>> wrote:<o:p></o:p></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<p class="MsoNormal">Hi,<br>
<br>
On 2020-10-02 10:44:43 -0700, Lang Hames wrote:<br>
> Sounds good to me. I think there are two sub-topics here:<br>
> (1) JIT specifics. E.g. What default optimization pipelines should we<br>
> provide in the JIT? The standard 0/1/2/3/s options, or would it make sense<br>
> to develop something JIT specific?<br>
<br>
Yea. I've some hopes for "new PM" making it easier to have maintainable<br>
and customizable pipelines. I've not played around with it too much -<br>
largely because there's no C API last time I checked.<br>
<br>
<br>
<br>
> (2) General compile time improvements. Everyone will benefit from compile<br>
> time improvements, but JIT clients are likely to be extra sensitive to it.<br>
> Have we identified any problem areas or redundancies that would be of<br>
> interest to the broader LLVM community, and that we could solicit help in<br>
> fixing.<br>
<br>
I'd guess that some of the things that can be done to significantly<br>
improve JIT performance aren't generally applicable to most other uses<br>
of LLVM. E.g. the overhead of redoing the same analyses for code gen is<br>
mostly an issue on higher optimization levels, and I assume that a large<br>
portion of e.g. clang users using -O3 will do LTO. Where a split between<br>
optimization and code gen seems necessary in number of cases.<br>
<br>
<br>
> > Possibly also related to LLJIT design - having LLJIT first generate<br>
> > minimally optimized code and then, while that is in use, doing optimization<br>
> > and optimized codegen concurrently, would be neat. It feels like that'd<br>
> > fit well into LLJIT, given that it already provides things like<br>
> > background compile threads.<br>
> <br>
> <br>
> Absolutely. Supporting this use-case was one of the motivations for the<br>
> concurrency support in OrcV2. It's doable at the moment, but it requires a<br>
> fair bit of manual work on the client's part. Implementation and API design<br>
> in this area seem like good topics.<br>
<br>
Cool.<br>
<br>
Greetings,<br>
<br>
Andres Freund<o:p></o:p></p>
</blockquote>
</div>
</div>
Als GmbH eingetragen im Handelsregister Bad Homburg v.d.H. HRB 9816, USt.ID-Nr. DE 114 165 789 Geschäftsführer: Dr. Hiroshi Nakamura, Dr. Robert Plank, Markus Bode, Heiko Lampert, Takashi Nagano, Junichi Tajika, Ergin Cansiz.
</body>
</html>