(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 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170607/89a9dd12/attachment.html>
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 > >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170607/2fc14deb/attachment.html>
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