I'm just running VS 10 in debug mode. In a step by step set up: 1. I download the svn 2. I make my changes 3. I compile the libraries 4. I make changes to the code within my project 5. I compile my code, and I re-link llc with my changed files. 6. I repeat 4,5, and 6 until it finally works. - Jeff Kunkel On Tue, Nov 2, 2010 at 1:21 PM, Óscar Fuentes <ofv at wanadoo.es> wrote:> The following message is a courtesy copy of an article > that has been posted to gmane.comp.compilers.llvm.devel as well. > > Jeff Kunkel <jdkunk3 at gmail.com> writes: > > > Hi, I am developing my register allocation algorithm in Visual Studio, > and I > > am hitting long compile times. I am wondering if there is a way to cut > down > > the time it takes for llc to link? > > Please describe your setup and the precise spot(s) that are > slow. Linking llc.exe on release mode takes a few seconds on VS 10 > running on a VMWare virtual machine. I'm sure it is quite slower on > debug mode, but that is a consequence of using static libraries and LLVM > being fat. >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20101102/b0dcd9cb/attachment.html>
Eh, I guess I will live. I was just wondering if some quick fixes were known. It seems that I lose 5 to 15 minutes per hour for compiling. - Jeff Kunkel On Tue, Nov 2, 2010 at 1:51 PM, Jeff Kunkel <jdkunk3 at gmail.com> wrote:> I'm just running VS 10 in debug mode. In a step by step set up: > > 1. I download the svn > 2. I make my changes > 3. I compile the libraries > 4. I make changes to the code within my project > 5. I compile my code, and I re-link llc with my changed files. > 6. I repeat 4,5, and 6 until it finally works. > > - Jeff Kunkel > > > On Tue, Nov 2, 2010 at 1:21 PM, Óscar Fuentes <ofv at wanadoo.es> wrote: > >> The following message is a courtesy copy of an article >> that has been posted to gmane.comp.compilers.llvm.devel as well. >> >> Jeff Kunkel <jdkunk3 at gmail.com> writes: >> >> > Hi, I am developing my register allocation algorithm in Visual Studio, >> and I >> > am hitting long compile times. I am wondering if there is a way to cut >> down >> > the time it takes for llc to link? >> >> Please describe your setup and the precise spot(s) that are >> slow. Linking llc.exe on release mode takes a few seconds on VS 10 >> running on a VMWare virtual machine. I'm sure it is quite slower on >> debug mode, but that is a consequence of using static libraries and LLVM >> being fat. >> > >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20101102/88149539/attachment.html>
Jeff Kunkel <jdkunk3 at gmail.com> writes:> I'm just running VS 10 in debug mode. In a step by step set up: > > 1. I download the svn > 2. I make my changes > 3. I compile the libraries > 4. I make changes to the code within my project > 5. I compile my code, and I re-link llc with my changed files. > 6. I repeat 4,5, and 6 until it finally works.Well, that is hardly unexpected and adds little information to this issue. The Output window on the IDE shows what the build is doing at every moment and there you can see where it slows down. Do you usually touch anything that requires tablegenning? A VC++ application compiled with debug settings is *much* slower that its release-mode incarnation.
No, table gen only runs if I change a library as expected. I was just fed up at the waiting and wanted to know if anyone else has, and if they had found a fix to the problem. -Jeff On Tue, Nov 2, 2010 at 1:59 PM, Óscar Fuentes <ofv at wanadoo.es> wrote:> Jeff Kunkel <jdkunk3 at gmail.com> writes: > > > I'm just running VS 10 in debug mode. In a step by step set up: > > > > 1. I download the svn > > 2. I make my changes > > 3. I compile the libraries > > 4. I make changes to the code within my project > > 5. I compile my code, and I re-link llc with my changed files. > > 6. I repeat 4,5, and 6 until it finally works. > > Well, that is hardly unexpected and adds little information to this > issue. The Output window on the IDE shows what the build is doing at > every moment and there you can see where it slows down. > > Do you usually touch anything that requires tablegenning? A VC++ > application compiled with debug settings is *much* slower that its > release-mode incarnation. >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20101102/a70d462c/attachment.html>
Le 2 nov. 2010 à 18:59, Óscar Fuentes a écrit :> Jeff Kunkel <jdkunk3 at gmail.com> writes: > >> I'm just running VS 10 in debug mode. In a step by step set up: >> >> 1. I download the svn >> 2. I make my changes >> 3. I compile the libraries >> 4. I make changes to the code within my project >> 5. I compile my code, and I re-link llc with my changed files. >> 6. I repeat 4,5, and 6 until it finally works. > > Well, that is hardly unexpected and adds little information to this > issue. The Output window on the IDE shows what the build is doing at > every moment and there you can see where it slows down. > > Do you usually touch anything that requires tablegenning? A VC++ > application compiled with debug settings is *much* slower that its > release-mode incarnation.Just my 2 cents. Is LTO enabled ? My experience with LTO in Visual Studio is that it significantly slows down link step. -- Jean-Daniel