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
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
Unswitch loops is the culprit, I'm about to file a bug. John -- John Regehr, regehr at cs.utah.edu Associate Professor, School of Computing, University of Utah http://www.cs.utah.edu/~regehr/ On Mon, 19 Oct 2009, Dan Gohman wrote:> 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