Hi Chris, Thanks for the quick input. The harder the LLVM is, the harder it is for me to teach the course:-) Too many optimisations have been added, meaning I have to design many new projects. --- Jingling On Mon, Feb 23, 2004 at 09:41:13PM -0600, Chris Lattner wrote:> On Tue, 24 Feb 2004, Jingling Xue wrote: > > > I understand that LLVM is now available in the public domain. > > Yes it is. It can be downloaded from the LLVM releases page here: > http://llvm.cs.uiuc.edu/releases/ > > > I need to decide which compiler system I will use for my advanced > > compiler course this year. > > The current release is 1.1. We are tentatively planning to release 1.2 > sometime in the next month, which will include some improvements over 1.1. > A list of the new features and changes so far can be found in the "1.2" > release notes here: http://llvm.cs.uiuc.edu/docs/ReleaseNotes.html > > So which release to use depends on your timeline. If they will need to > start before ~Mar 20, then 1.1 makes sense. If they will start after that > time, they can use 1.2 (which will be strictly better than 1.1). If you > decide that you want some "1.2" feature before the 1.2 release, such as > the profiling infrastructure, you can always choose to work out of CVS. > CVS is pretty stable most of the time. > > > I assume many more optimisations have been added to the system. > > Yup, there have been a lot of new developments. :) > > > Many students enjoyed working with your llvm last year. > > Great! BTW, if any of them have any reports that they would like to > contribute to the "Projects built with LLVM" page, please have them send > them to me. We'd like to showcase their hard work if they are willing to > share. :) http://llvm.cs.uiuc.edu/ProjectsWithLLVM/ > > > Thanks for the input. > > No problem, let me know if you still have questions. > > -Chris > > > > ---Jingling > > On Mon, Feb 23, 2004 at 09:20:01PM -0600, Chris Lattner wrote: > > > On Mon, 23 Feb 2004, Reid Spencer wrote: > > > > > > > Hi, > > > > > > > > Attempting to use cvs with LLVM is producing the following: > > > > > > > > bash-2.05b$ cvs status > > > > cvs [status aborted]: connect to > > > > llvm-cvs.cs.uiuc.edu(128.174.245.58):2401 failed: Connection refused > > > > > > > > I think this has happened before and the root cause was a stuck xinetd > > > > process on the cvs server. > > > > > > I kicked it, try again :) > > > > > > -Chris > > > > > > -- > > > http://llvm.cs.uiuc.edu/ > > > http://www.nondot.org/~sabre/Projects/ > > > > > > _______________________________________________ > > > LLVM Developers mailing list > > > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > > > http://mail.cs.uiuc.edu/mailman/listinfo/llvmdev > > > > > > -Chris > > -- > http://llvm.cs.uiuc.edu/ > http://www.nondot.org/~sabre/Projects/ > > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://mail.cs.uiuc.edu/mailman/listinfo/llvmdev-- --- Jingling Xue +------------------------------------------------------------------+ | Tel: +61 2 9385 4889 School of Computer Science and Engineering | | Fax: +61 2 9385 5995 The University of New South Wales | | http://www.cse.unsw.edu.au/~jxue Sydney 2052 Australia | +------------------------------------------------------------------+
On Tue, 24 Feb 2004, Jingling Xue wrote:> Thanks for the quick input. The harder the LLVM is, the harder it is for > me to teach the course :-) Too many optimisations have been added, > meaning I have to design many new projects.Ah, I see what you mean. :) If you are looking for ideas, there is still larges opening in LLVM in the fields of profile guided optimizations and loop optimizations. The only PGO we have right now is a basic block layout optimization, which is really only meant to be a proof of concept, not a real transformation (it does speed programs up though :). We have very little in the way of loop optimization. Another class of work that can be tackled is code-generator issues. The "1.2" code generator has been cleaned up quite a bit, and I am hoping to get some time to write up some documentation for it in the 1.2 timeframe. The code generator is currently pretty simple, but all of the major components are in place. If you want project ideas for code generator work, just let me know. :) -Chris> On Mon, Feb 23, 2004 at 09:41:13PM -0600, Chris Lattner wrote: > > On Tue, 24 Feb 2004, Jingling Xue wrote: > > > > > I understand that LLVM is now available in the public domain. > > > > Yes it is. It can be downloaded from the LLVM releases page here: > > http://llvm.cs.uiuc.edu/releases/ > > > > > I need to decide which compiler system I will use for my advanced > > > compiler course this year. > > > > The current release is 1.1. We are tentatively planning to release 1.2 > > sometime in the next month, which will include some improvements over 1.1. > > A list of the new features and changes so far can be found in the "1.2" > > release notes here: http://llvm.cs.uiuc.edu/docs/ReleaseNotes.html > > > > So which release to use depends on your timeline. If they will need to > > start before ~Mar 20, then 1.1 makes sense. If they will start after that > > time, they can use 1.2 (which will be strictly better than 1.1). If you > > decide that you want some "1.2" feature before the 1.2 release, such as > > the profiling infrastructure, you can always choose to work out of CVS. > > CVS is pretty stable most of the time. > > > > > I assume many more optimisations have been added to the system. > > > > Yup, there have been a lot of new developments. :) > > > > > Many students enjoyed working with your llvm last year. > > > > Great! BTW, if any of them have any reports that they would like to > > contribute to the "Projects built with LLVM" page, please have them send > > them to me. We'd like to showcase their hard work if they are willing to > > share. :) http://llvm.cs.uiuc.edu/ProjectsWithLLVM/ > > > > > Thanks for the input. > > > > No problem, let me know if you still have questions. > > > > -Chris > > > > > > > ---Jingling > > > On Mon, Feb 23, 2004 at 09:20:01PM -0600, Chris Lattner wrote: > > > > On Mon, 23 Feb 2004, Reid Spencer wrote: > > > > > > > > > Hi, > > > > > > > > > > Attempting to use cvs with LLVM is producing the following: > > > > > > > > > > bash-2.05b$ cvs status > > > > > cvs [status aborted]: connect to > > > > > llvm-cvs.cs.uiuc.edu(128.174.245.58):2401 failed: Connection refused > > > > > > > > > > I think this has happened before and the root cause was a stuck xinetd > > > > > process on the cvs server. > > > > > > > > I kicked it, try again :) > > > > > > > > -Chris > > > > > > > > -- > > > > http://llvm.cs.uiuc.edu/ > > > > http://www.nondot.org/~sabre/Projects/ > > > > > > > > _______________________________________________ > > > > LLVM Developers mailing list > > > > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > > > > http://mail.cs.uiuc.edu/mailman/listinfo/llvmdev > > > > > > > > > > -Chris > > > > -- > > http://llvm.cs.uiuc.edu/ > > http://www.nondot.org/~sabre/Projects/ > > > > _______________________________________________ > > LLVM Developers mailing list > > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > > http://mail.cs.uiuc.edu/mailman/listinfo/llvmdev > >-Chris -- http://llvm.cs.uiuc.edu/ http://www.nondot.org/~sabre/Projects/
Jingling, I faced the same issue in using LLVM for an introductory compiler course this semester. The way I am (optimistically) addressing it is that I have given the students a tarball of LLVM containing most of LLVM but very few optimizations. In particular, we've only given them a few essential transformations that the front-end or lli need, and any transformations used by those transformations. Key project ideas like LICM, GCSE, ADCE, etc. are left out. I've also told them *not* to download LLVM from the web site or CVS, and there I have to trust them not to do it. We can give you the same tarball if you're interested. My long-term goal is to make such an LLVM version available together with a few predefined course projects, including front-end and back-end projects. That will take time, though. --Vikram http://www.cs.uiuc.edu/~vadve> -----Original Message----- > From: llvmdev-admin at cs.uiuc.edu [mailto:llvmdev-admin at cs.uiuc.edu]On > Behalf Of Jingling Xue > Sent: Monday, February 23, 2004 9:51 PM > To: llvmdev at cs.uiuc.edu > Subject: Re: [LLVMdev] LLVM > > > Hi Chris, > Thanks for the quick input. The harder the LLVM is, > the harder it is for me to teach the course:-) > Too many optimisations have been added, meaning > I have to design many new projects. > > --- Jingling > > On Mon, Feb 23, 2004 at 09:41:13PM -0600, Chris Lattner wrote: > > On Tue, 24 Feb 2004, Jingling Xue wrote: > > > > > I understand that LLVM is now available in the public domain. > > > > Yes it is. It can be downloaded from the LLVM releases page here: > > http://llvm.cs.uiuc.edu/releases/ > > > > > I need to decide which compiler system I will use for my advanced > > > compiler course this year. > > > > The current release is 1.1. We are tentatively planning to release 1.2 > > sometime in the next month, which will include some > improvements over 1.1. > > A list of the new features and changes so far can be found in the "1.2" > > release notes here: http://llvm.cs.uiuc.edu/docs/ReleaseNotes.html > > > > So which release to use depends on your timeline. If they will need to > > start before ~Mar 20, then 1.1 makes sense. If they will start > after that > > time, they can use 1.2 (which will be strictly better than 1.1). If you > > decide that you want some "1.2" feature before the 1.2 release, such as > > the profiling infrastructure, you can always choose to work out of CVS. > > CVS is pretty stable most of the time. > > > > > I assume many more optimisations have been added to the system. > > > > Yup, there have been a lot of new developments. :) > > > > > Many students enjoyed working with your llvm last year. > > > > Great! BTW, if any of them have any reports that they would like to > > contribute to the "Projects built with LLVM" page, please have them send > > them to me. We'd like to showcase their hard work if they are > willing to > > share. :) http://llvm.cs.uiuc.edu/ProjectsWithLLVM/ > > > > > Thanks for the input. > > > > No problem, let me know if you still have questions. > > > > -Chris > > > > > > > ---Jingling > > > On Mon, Feb 23, 2004 at 09:20:01PM -0600, Chris Lattner wrote: > > > > On Mon, 23 Feb 2004, Reid Spencer wrote: > > > > > > > > > Hi, > > > > > > > > > > Attempting to use cvs with LLVM is producing the following: > > > > > > > > > > bash-2.05b$ cvs status > > > > > cvs [status aborted]: connect to > > > > > llvm-cvs.cs.uiuc.edu(128.174.245.58):2401 failed: > Connection refused > > > > > > > > > > I think this has happened before and the root cause was a > stuck xinetd > > > > > process on the cvs server. > > > > > > > > I kicked it, try again :) > > > > > > > > -Chris > > > > > > > > -- > > > > http://llvm.cs.uiuc.edu/ > > > > http://www.nondot.org/~sabre/Projects/ > > > > > > > > _______________________________________________ > > > > LLVM Developers mailing list > > > > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > > > > http://mail.cs.uiuc.edu/mailman/listinfo/llvmdev > > > > > > > > > > -Chris > > > > -- > > http://llvm.cs.uiuc.edu/ > > http://www.nondot.org/~sabre/Projects/ > > > > _______________________________________________ > > LLVM Developers mailing list > > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > > http://mail.cs.uiuc.edu/mailman/listinfo/llvmdev > > -- > --- Jingling Xue > +------------------------------------------------------------------+ > | Tel: +61 2 9385 4889 School of Computer Science and Engineering | > | Fax: +61 2 9385 5995 The University of New South Wales | > | http://www.cse.unsw.edu.au/~jxue Sydney 2052 Australia | > +------------------------------------------------------------------+ > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://mail.cs.uiuc.edu/mailman/listinfo/llvmdev >
Sounds like a good idea. I will talk to you later regarding the smaller llvm for project purposes. --- Jingling On Tue, Feb 24, 2004 at 06:13:07AM -0600, Vikram S. Adve wrote:> Jingling, > > I faced the same issue in using LLVM for an introductory compiler course > this semester. The way I am (optimistically) addressing it is that I have > given the students a tarball of LLVM containing most of LLVM but very few > optimizations. In particular, we've only given them a few essential > transformations that the front-end or lli need, and any transformations used > by those transformations. Key project ideas like LICM, GCSE, ADCE, etc. are > left out. I've also told them *not* to download LLVM from the web site or > CVS, and there I have to trust them not to do it. > > We can give you the same tarball if you're interested. > > My long-term goal is to make such an LLVM version available together with a > few predefined course projects, including front-end and back-end projects. > That will take time, though. > > --Vikram > http://www.cs.uiuc.edu/~vadve > > > > -----Original Message----- > > From: llvmdev-admin at cs.uiuc.edu [mailto:llvmdev-admin at cs.uiuc.edu]On > > Behalf Of Jingling Xue > > Sent: Monday, February 23, 2004 9:51 PM > > To: llvmdev at cs.uiuc.edu > > Subject: Re: [LLVMdev] LLVM > > > > > > Hi Chris, > > Thanks for the quick input. The harder the LLVM is, > > the harder it is for me to teach the course:-) > > Too many optimisations have been added, meaning > > I have to design many new projects. > > > > --- Jingling > > > > On Mon, Feb 23, 2004 at 09:41:13PM -0600, Chris Lattner wrote: > > > On Tue, 24 Feb 2004, Jingling Xue wrote: > > > > > > > I understand that LLVM is now available in the public domain. > > > > > > Yes it is. It can be downloaded from the LLVM releases page here: > > > http://llvm.cs.uiuc.edu/releases/ > > > > > > > I need to decide which compiler system I will use for my advanced > > > > compiler course this year. > > > > > > The current release is 1.1. We are tentatively planning to release 1.2 > > > sometime in the next month, which will include some > > improvements over 1.1. > > > A list of the new features and changes so far can be found in the "1.2" > > > release notes here: http://llvm.cs.uiuc.edu/docs/ReleaseNotes.html > > > > > > So which release to use depends on your timeline. If they will need to > > > start before ~Mar 20, then 1.1 makes sense. If they will start > > after that > > > time, they can use 1.2 (which will be strictly better than 1.1). If you > > > decide that you want some "1.2" feature before the 1.2 release, such as > > > the profiling infrastructure, you can always choose to work out of CVS. > > > CVS is pretty stable most of the time. > > > > > > > I assume many more optimisations have been added to the system. > > > > > > Yup, there have been a lot of new developments. :) > > > > > > > Many students enjoyed working with your llvm last year. > > > > > > Great! BTW, if any of them have any reports that they would like to > > > contribute to the "Projects built with LLVM" page, please have them send > > > them to me. We'd like to showcase their hard work if they are > > willing to > > > share. :) http://llvm.cs.uiuc.edu/ProjectsWithLLVM/ > > > > > > > Thanks for the input. > > > > > > No problem, let me know if you still have questions. > > > > > > -Chris > > > > > > > > > > ---Jingling > > > > On Mon, Feb 23, 2004 at 09:20:01PM -0600, Chris Lattner wrote: > > > > > On Mon, 23 Feb 2004, Reid Spencer wrote: > > > > > > > > > > > Hi, > > > > > > > > > > > > Attempting to use cvs with LLVM is producing the following: > > > > > > > > > > > > bash-2.05b$ cvs status > > > > > > cvs [status aborted]: connect to > > > > > > llvm-cvs.cs.uiuc.edu(128.174.245.58):2401 failed: > > Connection refused > > > > > > > > > > > > I think this has happened before and the root cause was a > > stuck xinetd > > > > > > process on the cvs server. > > > > > > > > > > I kicked it, try again :) > > > > > > > > > > -Chris > > > > > > > > > > -- > > > > > http://llvm.cs.uiuc.edu/ > > > > > http://www.nondot.org/~sabre/Projects/ > > > > > > > > > > _______________________________________________ > > > > > LLVM Developers mailing list > > > > > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > > > > > http://mail.cs.uiuc.edu/mailman/listinfo/llvmdev > > > > > > > > > > > > > > -Chris > > > > > > -- > > > http://llvm.cs.uiuc.edu/ > > > http://www.nondot.org/~sabre/Projects/ > > > > > > _______________________________________________ > > > LLVM Developers mailing list > > > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > > > http://mail.cs.uiuc.edu/mailman/listinfo/llvmdev > > > > -- > > --- Jingling Xue > > +------------------------------------------------------------------+ > > | Tel: +61 2 9385 4889 School of Computer Science and Engineering | > > | Fax: +61 2 9385 5995 The University of New South Wales | > > | http://www.cse.unsw.edu.au/~jxue Sydney 2052 Australia | > > +------------------------------------------------------------------+ > > _______________________________________________ > > LLVM Developers mailing list > > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > > http://mail.cs.uiuc.edu/mailman/listinfo/llvmdev > > > > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://mail.cs.uiuc.edu/mailman/listinfo/llvmdev-- --- Jingling Xue +------------------------------------------------------------------+ | Tel: +61 2 9385 4889 School of Computer Science and Engineering | | Fax: +61 2 9385 5995 The University of New South Wales | | http://www.cse.unsw.edu.au/~jxue Sydney 2052 Australia | +------------------------------------------------------------------+