[LLVMdev] RE : LLVM test a pass

Rinaldini Julien julien.rinaldini at heig-vd.ch
Thu May 24 02:36:39 PDT 2012


Thx to you both...

Cheers


>Hi,
>
>The LLVM has a good test suite. I recommend it. You can test your pass
>with single-source programs and multi-source programs. You can also
>configure the test-suite to run your test with external benchmarks
>within the LLVM test suite.
>
>You can also run some programs after you use your pass, to verify if
>your pass don't affect the behavior of the compiled program. You can
>do it with the test suite, too. You just have to put the instructions
>to run the compiled program in the Makefile of your test.
>
>Regards,
>
>Raphael Ernani

>When testing a pass, you want to expose it to as many programs as 
>possible.  The LLVM test-suite would be a good place to find programs to 
>test.  You may also want to try doing a "make world" on FreeBSD with 
>your pass or trying out commonly used GNU programs (like GNU zip, GNU 
>tar, flex, make, bison, GCC, etc.).  You could even test your pass on 
>LLVM itself.
>
>If you want to go for big applications, test Apache, MySQL, Firefox, and 
>Thunderbird.
>
>-- John T.



More information about the llvm-dev mailing list