View Issue Details

IDProjectCategoryView StatusLast Update
0001618Rocky-Linux-9clangpublic2022-12-29 03:48
ReporterAliaksandr Zaitsau Assigned ToLouis Abel  
PrioritynormalSeverityminorReproducibilityN/A
Status needinfoResolutionopen 
Summary0001618: Build Clang with PGO
DescriptionLLVM 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.
TagsNo tags attached.

Activities

Louis Abel

Louis Abel

2022-12-29 03:48

administrator   ~0001948

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.

Issue History

Date Modified Username Field Change
2022-12-29 03:41 Aliaksandr Zaitsau New Issue
2022-12-29 03:48 Louis Abel Assigned To => Louis Abel
2022-12-29 03:48 Louis Abel Status new => needinfo
2022-12-29 03:48 Louis Abel Note Added: 0001948