<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">I feel such information should be added/updated to [1]. Chandler, any plan to do that? :-)</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">[1] <a href="http://llvm.org/docs/WritingAnLLVMPass.html">http://llvm.org/docs/WritingAnLLVMPass.html</a></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Regards,</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">chenwj</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2017-06-12 21:44 GMT+08:00 Christian Convey via llvm-dev <span dir="ltr"><<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">For others trying to find info on the new PassManager: FYI, Tobias kindly forwarded me the following links during a side-discussion:</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">This is Part 1 of Chandler's discussion about deficiencies in the old PassManager:<br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><a href="https://www.youtube.com/watch?v=rY02LT08-J8" rel="noreferrer" style="font-family:arial,sans-serif;font-size:12.8px" target="_blank">https://www.youtube.com/watch?<wbr>v=rY02LT08-J8</a><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Here's Part 2 of Chandler's talk. It's this talk which gives a lot of detail regarding the new PassManager, as of October 2014: <u style="font-size:12.8px;color:rgb(17,85,204);font-family:arial,sans-serif"><a href="http://llvm.org/devmtg/2014-10/#talk11" target="_blank">http://llvm.org/devmtg/<wbr>2014-10/#talk11</a></u></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jun 7, 2017 at 5:42 PM, Tobias Grosser 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">Hi Christian,<br>
<br>
Chandler also gave two talks at earlier LLVM conferences, which have<br>
been recorded and should be available online.<br>
<span class="m_-7007820079370661259HOEnZb"><font color="#888888"><br>
Tobias<br>
</font></span><div class="m_-7007820079370661259HOEnZb"><div class="m_-7007820079370661259h5"><br>
On Wed, Jun 7, 2017, at 09:50 PM, Philip Pfaffe via llvm-dev wrote:<br>
> Hi Christian,<br>
><br>
> sadly, there aren't any tutorials currently. The PassManager itself is<br>
> rather well documented, so I recommend taking a look at that.<br>
><br>
> It also makes sense to take a look at a some of the simpler analyses and<br>
> passes in-tree. I'd recommend DCE and DominanceFrontiers as starting<br>
> points, as those are both quite simple and an easy read.<br>
><br>
> We're certainly interested in any progress and experiences you make with<br>
> this. If you're willing, tutorials are very welcome! :)<br>
><br>
> Cheers,<br>
> Philip<br>
><br>
><br>
><br>
> 2017-06-07 19:22 GMT+02:00 Christian Convey via llvm-dev <<br>
> <a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a>>:<br>
><br>
> > (This is a simplified version of a question I posed a few days ago)<br>
> ><br>
> > Can anyone point me to a good overview doc for writing an optimizer /<br>
> > analysis pass based on the new pass manager?<br>
> ><br>
> > The only docs I've found seem to have been written for the previous<br>
> > (legacy) pass manager.<br>
> ><br>
> > Thanks,<br>
> > Christian<br>
> ><br>
> ><br>
> > ______________________________<wbr>_________________<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/<wbr>mailman/listinfo/llvm-dev</a><br>
> ><br>
> ><br>
> ______________________________<wbr>_________________<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/<wbr>mailman/listinfo/llvm-dev</a><br>
______________________________<wbr>_________________<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/<wbr>mailman/listinfo/llvm-dev</a><br>
</div></div></blockquote></div><br></div>
<br>______________________________<wbr>_________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org">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/<wbr>mailman/listinfo/llvm-dev</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Wei-Ren Chen (陳韋任)<br>Homepage: <a href="https://people.cs.nctu.edu.tw/~chenwj" target="_blank">https://people.cs.nctu.edu.tw/~chenwj</a></div></div></div>
</div>