[LLVMdev] -O0 compile time speed (was: Go)

Renato Golin rengolin at systemcall.org
Sun Nov 22 13:57:00 PST 2009


2009/11/22 Jon Harrop <jon at ffconsultancy.com>:
> What about parallelization?

I thought about that for a while, but if you keep your classes/files
small, intra-unit parallelization gains are probably not worth the
time invested. Compiling multiple files is embarrassingly parallel.
[1]

MHO is that, though inter-unit optimizations can take much longer, the
benefits are worthwhile. Multiple threads/processes with a message
passing interface in between them would be a start, but compiling a
unix kernel that way would be tricky memory-wise. ;)

cheers,
--renato

[1] http://en.wikipedia.org/wiki/Embarrassingly_parallel



More information about the llvm-dev mailing list