Open
Description
There is a great article in the official LLVM documentation "How to build Clang and LLVM with Profile-Guided Optimization".
I suggest adding an additional article (or extending the existing one) with information on how to build Clang and LLVM with LLVM Bolt. Clang already supports building with BOLT with CMake scripts.
We need to add the following information to the documentation:
- What benefits are expected from BOLT for Clang? Some benchmark numbers would be great (as it's already done for Clang and PGO). These numbers can be found here.
- How to build Clang with BOLT. A step-by-step guide would be nice to see since it allows users/maintainers to apply BOLT to Clang more easily.
Having this information in the official documentation improves the visibility of the additional way to improve Clang performance with LLVM-native optimization tooling.