<p>I guess even kaleidoscope would serve as a good tutorial</p>
<p>-sanjiv</p>
<p>On 24 May 2011 17:23, "Tobias Grosser" <<a href="mailto:grosser@fim.uni-passau.de">grosser@fim.uni-passau.de</a>> wrote:<br>
><br>
> On 05/24/2011 05:18 AM, Christian Plessl wrote:<br>
> ><br>
> > On 28.02.2011, at 15:44, Tobias Grosser wrote:<br>
> ><br>
> >> On 02/28/2011 05:27 AM, Christian Plessl wrote:<br>
> >>> Hi everyone<br>
> >>><br>
> >>> I am teaching a lecture on hardware/software codesign which, though not a dedicated compiler course, covers quite a bit of compiler related contents (general introduction, intermediate code, code generation).<br>

> >>><br>
> >>> I'm currently considering replacing and/or extending this compiler related lecture parts with an introduction to LLVM as an example for a modern compiler framework, which we are also using extensively in our research.<br>

> >>><br>
> >>> Does anybody know of good teaching materials on LLVM? For example, a basic compiler course that use LLVM as a example? I searched the web a bit but didn't find anything suitable.<br>
> >>><br>
> >>> Cheers,<br>
> >>>    Christian<br>
> >><br>
> >> I put some slides I used on my webpage.<br>
> >><br>
> >> <a href="http://www.grosser.es">http://www.grosser.es</a><br>
> >><br>
> >> You can use them. However, they are just a bunch and only about specific<br>
> >> topics. No general compiler introduction. Furthermore, we did have a lot<br>
> >> of interactive discussions, so without having attended the class they<br>
> >> may be difficult to understand.<br>
> ><br>
> ><br>
> > Thanks, your slides have been helpful. For my course, I came up with the following set of slides for a basic introduction to LLVM.<br>
> ><br>
> > <a href="http://homepages.uni-paderborn.de/plessl/lectures/2011-Codesign/slides/02-Compiler-LLVM.pdf">http://homepages.uni-paderborn.de/plessl/lectures/2011-Codesign/slides/02-Compiler-LLVM.pdf</a><br>
> ><br>
> > Anyone is welcome to use these slides.<br>
><br>
> Hey Christian,<br>
><br>
> thanks for letting us know. I really like your slides and I am tempted<br>
> to steal quite a bit, if I talk about LLVM the next time. ;-)<br>
><br>
> One minor suggestion. You use dotty to show the CFG. I did this a long<br>
> time and now moved to xdot.py [1]. I like it a lot better. If you put it<br>
> in your path at least the cmake build of LLVM will automatically use it.<br>
> (It needs to be in the path, before you run the configure)<br>
><br>
> Cheers<br>
> Tobi<br>
><br>
><br>
> [1]<a href="http://code.google.com/p/jrfonseca/wiki/XDot">http://code.google.com/p/jrfonseca/wiki/XDot</a><br>
><br>
><br>
> >> It would be great to create a svn branch to share slides for such a course.<br>
> ><br>
> > Definitely. Such teaching materials would be very useful.<br>
> ><br>
> > Cheers,<br>
> >   Christian<br>
><br>
> _______________________________________________<br>
> LLVM Developers mailing list<br>
> <a href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a>         <a href="http://llvm.cs.uiuc.edu">http://llvm.cs.uiuc.edu</a><br>
> <a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br>
</p>