[LLVMdev] Measuring effects of a pass on llvm test-suite

陳韋任 chenwj at iis.sinica.edu.tw
Tue Apr 24 20:30:48 PDT 2012


On Tue, Apr 24, 2012 at 04:43:14PM -0300, Rafael Martins de Souza wrote:
> I've developed a pass and would like to see it's effects on the running 
> time of the programs on the llvm test-suite. I think that the test-suite 
> has mechanisms for measuring the running time of it's programs. Is that 
> correct? Looking at the doc and other sources, it seemed that I just 
> needed to modify the nightly test somehow. I tried to modify it to 
> include my pass but I didn't find where to put that information. How 
> does the nightly test decides which tests to run?
> 
> Basically, how to obtain running time measurements of the programs on 
> the test-suite with and without applying a specific pass?

  I guess your best shot is to add option to `llc` which is used to compile
code during test-suite running. That way, you can modify LLCBETAOPTION in
Makefile.programs under test-suite directory to turn on/off your pass.

Regards,
chenwj

-- 
Wei-Ren Chen (陳韋任)
Computer Systems Lab, Institute of Information Science,
Academia Sinica, Taiwan (R.O.C.)
Tel:886-2-2788-3799 #1667
Homepage: http://people.cs.nctu.edu.tw/~chenwj




More information about the llvm-dev mailing list