|
|
|
|
|
by PeCaN
2044 days ago
|
|
it's not so much that gcc does anything specific so much as LLVM is just really really inefficient—they don't track compilation time at all so it's easy for releases to regress, half the stuff in there is academics implementing their PhD thesis aiming for algorithmic accuracy with little regard for efficiency, and LLVM's design itself is somewhat inefficient (multiple IRs, lots and lots of pointers in IR representation, etc) that said this makes it an excellent testbed but compilation time will keep getting slower every release until they start caring about it |
|
[0]: https://nikic.github.io/2020/05/10/Make-LLVM-fast-again.html