3 ms·
clang/llvm are working on it. For codegen anyway. It's not clear that it will help with template instantiation, because it's fairly hard to parallelize. Certa
by DannyBee 10y ago
clang/llvm are working on it.
For codegen anyway.
It's not clear that it will help with template instantiation, because it's fairly hard to parallelize.
Certainly, possible, but very hard to do "optimally" (IE by sharing work instead of duplicating it).
Given any initial work is likely to have to do duplicate work per thread, this usually cuts into your speedup quite a lot.
Codegen, on the other hand, is pretty much fully parallelizable.
This is the whole reason thinlto exists.