[LLVMdev] [PATCH] increase the max number of physical registers

Chris Lattner clattner at apple.com
Mon Nov 23 10:35:41 PST 2009


On Nov 22, 2009, at 2:08 PM, Pekka Jääskeläinen wrote:

> Hi,
> 
> Chris Lattner wrote:
>> This is fine to me in principle, but please make sure this doesn't
>> impact compile time or memory usage of llc somehow.
> 
> OK. Any recommended way to do this? Is there some nice way to benchmark
> speed + memory consumption of llc in LLVM testing infra at the
> moment or should I just use 'top' to the inspect memory consumption
> and 'time' for speed measurements with a code generation from
> a big bitcode?

Please compare a release-asserts (make ENABLE_OPTIMIZED=1 DISABLE_ASSERTIONS=1) builds with and without your patch.  Just run 'llc' on a collection of large bc files (e.g. kimwitu++ from the testsuite, some SPEC2K6 programs if you have access to it, etc) and compare them.

Thanks!

-Chris 



More information about the llvm-dev mailing list