[LLVMdev] LLVM test a pass

Rinaldini Julien julien.rinaldini at heig-vd.ch
Wed May 23 07:48:58 PDT 2012


Hi,

I'm currently developping a pass for LLVM and I was wondering what's the best way to test if it work correctly.

Right now to test my pass, I'm compiling libtomcrypt with LLVM and an other time LLVM+my pass. After that I run the test framework of libtomcrypt
and compare the result.

Is there a best way to do that? Maybe using the test suite from LLVM is better (I tought it used some "very" particular piece of code to see if LLVM does it's job)?

Thx
Cheers



More information about the llvm-dev mailing list