|
|
|
|
|
by JoshTriplett
347 days ago
|
|
Depends on the workload, but yes, codegen is a huge part of the total compilation time. That said, that doesn't mean LLVM is always where the fixes need to be. For instance, one reason rustc spends a lot of time in LLVM is that rustc feeds more code to LLVM than it should, and relies on the LLVM optimizer to improve it. Over time, we're getting better about how much code we throw at LLVM, and that's providing performance improvements. |
|