View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0001618||Rocky-Linux-9||clang||public||2022-12-29 03:41||2022-12-29 03:48|
|Reporter||Aliaksandr Zaitsau||Assigned To||Louis Abel|
|Summary||0001618: 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.|
Thank you for the report.
This something we don't control. Ultimately upstream (red hat) would be the ones that would need to make this call. I would suggest opening a bug report as bugzilla.redhat.com (as you've done with Fedora https://bugzilla.redhat.com/show_bug.cgi?id=2156679) against CentOS Stream 9 if you wish to see pgo in Rocky Linux.