Skip to content

Document building Clang with BOLT #65010

Open
@zamazan4ik

Description

@zamazan4ik

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    cmakeBuild system in general and CMake in particulardocumentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions