[LLVMdev] Testing a register allocator
sabre at nondot.org
Sun Sep 3 12:27:22 PDT 2006
On Sun, 3 Sep 2006, Tanya M. Lattner wrote:
>> BTW, how can I run all tests only on LLC to reduce the amount of time to
>> wait until tests are finished, if it's possible?
> In my previous reply to your question, I suggested you look at
> TEST.llc.Makefile and TEST.llc.report in the test directory. Modifying
> those makefile/report files to use your register allocator will do what
> you want.
Tanya's right, if you want full control over what is being run, you should
write your own test script. If you really really want to use the nightly
tester script, you can pass DISABLE_CBE=1 DISABLE_JIT=1 on the make
command line to disable those runs.
If the test output claims that llc-beta fails, then your register
allocator is producing incorrect code. In a multisource directory, if you
use 'make bugpoint-llc-beta' in some failing test directory, bugpoint will
automatically reduce the failure to a smaller example for you.
More information about the llvm-dev