Rafael Martins de Souza
2012-Apr-24 19:43 UTC
[LLVMdev] Measuring effects of a pass on llvm test-suite
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?
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
Apparently Analagous Threads
- [LLVMdev] Running test suite with LNT failed
- [LLVMdev] Running test suite with LNT failed
- [LLVMdev] Running test suite with LNT failed
- [LLVMdev] RE : Detect if a basicblock is part of a loop
- [LLVMdev] Running the programs in the LLVM test suite with a pass and without it.