Hi Christian, Chandler also gave two talks at earlier LLVM conferences, which have been recorded and should be available online. Tobias On Wed, Jun 7, 2017, at 09:50 PM, Philip Pfaffe via llvm-dev wrote:> Hi Christian, > > sadly, there aren't any tutorials currently. The PassManager itself is > rather well documented, so I recommend taking a look at that. > > It also makes sense to take a look at a some of the simpler analyses and > passes in-tree. I'd recommend DCE and DominanceFrontiers as starting > points, as those are both quite simple and an easy read. > > We're certainly interested in any progress and experiences you make with > this. If you're willing, tutorials are very welcome! :) > > Cheers, > Philip > > > > 2017-06-07 19:22 GMT+02:00 Christian Convey via llvm-dev < > llvm-dev at lists.llvm.org>: > > > (This is a simplified version of a question I posed a few days ago) > > > > Can anyone point me to a good overview doc for writing an optimizer / > > analysis pass based on the new pass manager? > > > > The only docs I've found seem to have been written for the previous > > (legacy) pass manager. > > > > Thanks, > > Christian > > > > > > _______________________________________________ > > LLVM Developers mailing list > > llvm-dev at lists.llvm.org > > http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev > > > > > _______________________________________________ > LLVM Developers mailing list > llvm-dev at lists.llvm.org > http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
Philip and Tobias: Thanks very much for the suggestions! I'll get them a shot. - Christian On Wed, Jun 7, 2017 at 5:42 PM, Tobias Grosser via llvm-dev < llvm-dev at lists.llvm.org> wrote:> Hi Christian, > > Chandler also gave two talks at earlier LLVM conferences, which have > been recorded and should be available online. > > Tobias > > On Wed, Jun 7, 2017, at 09:50 PM, Philip Pfaffe via llvm-dev wrote: > > Hi Christian, > > > > sadly, there aren't any tutorials currently. The PassManager itself is > > rather well documented, so I recommend taking a look at that. > > > > It also makes sense to take a look at a some of the simpler analyses and > > passes in-tree. I'd recommend DCE and DominanceFrontiers as starting > > points, as those are both quite simple and an easy read. > > > > We're certainly interested in any progress and experiences you make with > > this. If you're willing, tutorials are very welcome! :) > > > > Cheers, > > Philip > > > > > > > > 2017-06-07 19:22 GMT+02:00 Christian Convey via llvm-dev < > > llvm-dev at lists.llvm.org>: > > > > > (This is a simplified version of a question I posed a few days ago) > > > > > > Can anyone point me to a good overview doc for writing an optimizer / > > > analysis pass based on the new pass manager? > > > > > > The only docs I've found seem to have been written for the previous > > > (legacy) pass manager. > > > > > > Thanks, > > > Christian > > > > > > > > > _______________________________________________ > > > LLVM Developers mailing list > > > llvm-dev at lists.llvm.org > > > http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev > > > > > > > > _______________________________________________ > > LLVM Developers mailing list > > llvm-dev at lists.llvm.org > > http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev > _______________________________________________ > LLVM Developers mailing list > llvm-dev at lists.llvm.org > http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170608/db91d79e/attachment.html>
For others trying to find info on the new PassManager: FYI, Tobias kindly forwarded me the following links during a side-discussion: This is Part 1 of Chandler's discussion about deficiencies in the old PassManager: https://www.youtube.com/watch?v=rY02LT08-J8 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: *http://llvm.org/devmtg/2014-10/#talk11 <http://llvm.org/devmtg/2014-10/#talk11>* On Wed, Jun 7, 2017 at 5:42 PM, Tobias Grosser via llvm-dev < llvm-dev at lists.llvm.org> wrote:> Hi Christian, > > Chandler also gave two talks at earlier LLVM conferences, which have > been recorded and should be available online. > > Tobias > > On Wed, Jun 7, 2017, at 09:50 PM, Philip Pfaffe via llvm-dev wrote: > > Hi Christian, > > > > sadly, there aren't any tutorials currently. The PassManager itself is > > rather well documented, so I recommend taking a look at that. > > > > It also makes sense to take a look at a some of the simpler analyses and > > passes in-tree. I'd recommend DCE and DominanceFrontiers as starting > > points, as those are both quite simple and an easy read. > > > > We're certainly interested in any progress and experiences you make with > > this. If you're willing, tutorials are very welcome! :) > > > > Cheers, > > Philip > > > > > > > > 2017-06-07 19:22 GMT+02:00 Christian Convey via llvm-dev < > > llvm-dev at lists.llvm.org>: > > > > > (This is a simplified version of a question I posed a few days ago) > > > > > > Can anyone point me to a good overview doc for writing an optimizer / > > > analysis pass based on the new pass manager? > > > > > > The only docs I've found seem to have been written for the previous > > > (legacy) pass manager. > > > > > > Thanks, > > > Christian > > > > > > > > > _______________________________________________ > > > LLVM Developers mailing list > > > llvm-dev at lists.llvm.org > > > http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev > > > > > > > > _______________________________________________ > > LLVM Developers mailing list > > llvm-dev at lists.llvm.org > > http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev > _______________________________________________ > LLVM Developers mailing list > llvm-dev at lists.llvm.org > http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170612/3f654cbc/attachment.html>
I feel such information should be added/updated to [1]. Chandler, any plan to do that? :-) [1] http://llvm.org/docs/WritingAnLLVMPass.html Regards, chenwj 2017-06-12 21:44 GMT+08:00 Christian Convey via llvm-dev < llvm-dev at lists.llvm.org>:> For others trying to find info on the new PassManager: FYI, Tobias kindly > forwarded me the following links during a side-discussion: > > This is Part 1 of Chandler's discussion about deficiencies in the old > PassManager: > https://www.youtube.com/watch?v=rY02LT08-J8 > > 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: *http://llvm.org/devmtg/2014-10/#talk11 > <http://llvm.org/devmtg/2014-10/#talk11>* > > > On Wed, Jun 7, 2017 at 5:42 PM, Tobias Grosser via llvm-dev < > llvm-dev at lists.llvm.org> wrote: > >> Hi Christian, >> >> Chandler also gave two talks at earlier LLVM conferences, which have >> been recorded and should be available online. >> >> Tobias >> >> On Wed, Jun 7, 2017, at 09:50 PM, Philip Pfaffe via llvm-dev wrote: >> > Hi Christian, >> > >> > sadly, there aren't any tutorials currently. The PassManager itself is >> > rather well documented, so I recommend taking a look at that. >> > >> > It also makes sense to take a look at a some of the simpler analyses and >> > passes in-tree. I'd recommend DCE and DominanceFrontiers as starting >> > points, as those are both quite simple and an easy read. >> > >> > We're certainly interested in any progress and experiences you make with >> > this. If you're willing, tutorials are very welcome! :) >> > >> > Cheers, >> > Philip >> > >> > >> > >> > 2017-06-07 19:22 GMT+02:00 Christian Convey via llvm-dev < >> > llvm-dev at lists.llvm.org>: >> > >> > > (This is a simplified version of a question I posed a few days ago) >> > > >> > > Can anyone point me to a good overview doc for writing an optimizer / >> > > analysis pass based on the new pass manager? >> > > >> > > The only docs I've found seem to have been written for the previous >> > > (legacy) pass manager. >> > > >> > > Thanks, >> > > Christian >> > > >> > > >> > > _______________________________________________ >> > > LLVM Developers mailing list >> > > llvm-dev at lists.llvm.org >> > > http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev >> > > >> > > >> > _______________________________________________ >> > LLVM Developers mailing list >> > llvm-dev at lists.llvm.org >> > http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev >> _______________________________________________ >> LLVM Developers mailing list >> llvm-dev at lists.llvm.org >> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev >> > > > _______________________________________________ > LLVM Developers mailing list > llvm-dev at lists.llvm.org > http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev > >-- Wei-Ren Chen (陳韋任) Homepage: https://people.cs.nctu.edu.tw/~chenwj -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170614/95e5997d/attachment.html>