View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0000350||AlmaLinux-9||clang||public||2022-12-29 03:34||2022-12-29 03:34|
|Summary||0000350: Build Clang with PGO|
|Description||LLVM supports building Clang with PGO (https://llvm.org/docs/HowToBuildWithPGO.html). Using PGO for compilers has a huge impact on compiler performance. E.g. many distros are already building GCC (which also supports PGO builds) with PGO. I think for the users would be beneficial to have faster Clang binaries.|
Locally I usually build my own Clang version. According to my tests, it could bring up to 20% performance.
Additionally, you could consider using LLVM BOLT as an additional optimization step, but I guess it should be discussed in another issue after the PGO implementation.
|Tags||No tags attached.|