[LLVMdev] Goog test-cases for a new register allocator

Chris Lattner sabre at nondot.org
Wed Apr 2 19:58:24 PDT 2008


On Apr 2, 2008, at 4:47 PM, David Greene wrote:
>> I think these requirements are not specific for my allocator only,  
>> but
>> are important for checking any register allocator. May be someone
>> (Fernando? David? Evan?) who was working on register allocators has
>> found a good set of examples covering some of the topics? Or may be
>> someone knows good examples due to the fact that current register
>> allocators perform too bad on it? ;-)
>
> I've found the NAS Parallel Benchmarks to be quite a good workout:
>
> http://www.nas.nasa.gov/Resources/Software/npb.html
>
> They are medium-sized benchmarks, so substantial without being totally
> overwhelming.  They manifest pretty much all of your points above.   
> The
> basic linear scan algorithm seems to do fairly well on them so it  
> makes
> for a good comparison.
>
> I use version 2.3, the serial flavor (yes, I understand the  
> irony :) ).

Could these be added to llvm-test?

-Chris



More information about the llvm-dev mailing list