[LLVMdev] slooow compiles

Dan Gohman gohman at apple.com
Mon Oct 19 21:24:28 PDT 2009


My InlineCost refactoring has been noticed in this aspect; that may or  
may notbe the culprit here.

A quick thing you can do is to compile with -ftime-report and compare  
the top few passes between versions.

Dan

On Oct 19, 2009, at 8:47 PM, John Regehr <regehr at cs.utah.edu> wrote:

> As part of routine testing, I run clang and llvm-gcc a lot of times.
> Something happened between r83681 and r84167 such that clang-cc and  
> cc1
> became many hundreds of times slower when asked to perform  
> optimizations.
>
> Is this a known issue?  These are all release builds on Ubuntu  
> Jaunty on
> x86.  During these long runs, memory usage creeps up slowly at maybe  
> 1 MB
> per minute.
>
> Thanks,
>
> John Regehr
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev



More information about the llvm-dev mailing list