[LLVMdev] parallel complie

Chris Lattner sabre at nondot.org
Thu Dec 25 03:40:01 PST 2003

On Thu, 25 Dec 2003, yue wrote:
> does someone consider parallel compiler using llvm?

Yes.  The LLVM pass manager has been explicitly designed to make this
possible, though it has not yet been implemented.

This is briefly described here:

In the meantime, you can always use 'make -j2' or whatever, running
multiple independent compilations in parallel.  It is obviously much
cooler for the compiler itself to be parallel, but we haven't had the time
to implement it yet.  The important part of the LLVM design is that most
of the compiler can be completely oblivious of the fact that
FunctionPass's (a majority of the optimizations and analyses) are being
run in parallel on different functions at the same time.



More information about the llvm-dev mailing list