Friday, September 01, 2006

First data checked in!

Hey, I've got some documentation checked on the official LLVM web page!
Thank you for the honor, Chris :)
Hum... I think some more people had the same question as I did, when
testing the register allocation. Here goes the explanation:
In TEST.llc.Makefile, you can set the type of register allocator that
you want:

LLC_OPTS = -f -o=/dev/null -stats -time-passes -regalloc=linearscan

to compare against your allocator, open "Makefile.program", and set

LLCBETAOPTION := -regalloc=your_allocator -fast

After that, you just have to type make
TEST=nightly report.html on project/llvm-test/
An '*' on the report means that your test failed. The report will give you
your compile time, and the running time of the compiled file.

0 Comments:

Post a Comment

<< Home