I guess even kaleidoscope would serve as a good tutorial -sanjiv On 24 May 2011 17:23, "Tobias Grosser" <grosser at fim.uni-passau.de> wrote:> > On 05/24/2011 05:18 AM, Christian Plessl wrote: > > > > On 28.02.2011, at 15:44, Tobias Grosser wrote: > > > >> On 02/28/2011 05:27 AM, Christian Plessl wrote: > >>> Hi everyone > >>> > >>> I am teaching a lecture on hardware/software codesign which, thoughnot a dedicated compiler course, covers quite a bit of compiler related contents (general introduction, intermediate code, code generation).> >>> > >>> I'm currently considering replacing and/or extending this compilerrelated lecture parts with an introduction to LLVM as an example for a modern compiler framework, which we are also using extensively in our research.> >>> > >>> Does anybody know of good teaching materials on LLVM? For example, abasic compiler course that use LLVM as a example? I searched the web a bit but didn't find anything suitable.> >>> > >>> Cheers, > >>> Christian > >> > >> I put some slides I used on my webpage. > >> > >> http://www.grosser.es > >> > >> You can use them. However, they are just a bunch and only aboutspecific> >> topics. No general compiler introduction. Furthermore, we did have alot> >> of interactive discussions, so without having attended the class they > >> may be difficult to understand. > > > > > > Thanks, your slides have been helpful. For my course, I came up with thefollowing set of slides for a basic introduction to LLVM.> > > >http://homepages.uni-paderborn.de/plessl/lectures/2011-Codesign/slides/02-Compiler-LLVM.pdf> > > > Anyone is welcome to use these slides. > > Hey Christian, > > thanks for letting us know. I really like your slides and I am tempted > to steal quite a bit, if I talk about LLVM the next time. ;-) > > One minor suggestion. You use dotty to show the CFG. I did this a long > time and now moved to xdot.py [1]. I like it a lot better. If you put it > in your path at least the cmake build of LLVM will automatically use it. > (It needs to be in the path, before you run the configure) > > Cheers > Tobi > > > [1]http://code.google.com/p/jrfonseca/wiki/XDot > > > >> It would be great to create a svn branch to share slides for such acourse.> > > > Definitely. Such teaching materials would be very useful. > > > > Cheers, > > Christian > > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110527/0268fcc3/attachment.html>