Evaluate using Profile-Guided Optimization (PGO) for optimizing the compiler #6996
zamazan4ik
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi!
Recently I checked Profile-Guided Optimization (PGO) improvements on multiple projects, including many compilers (like Clang, Rustc, etc.) - the results are here. According to the multiple tests, PGO can help with improving performance in many cases. E.g. there is a PGO benchmark for the Naga compiler - link. Since this, I think PGO integration into the DirectX Shader Compiler would be a good thing to have.
I can suggest the following action points:
As an integration example into the build scripts, I can recommend starting with Clang instructions - the corresponding CMake scripts are located here
Thank you.
P.S. I didn't find information in the build scripts. Are current release builds optimized with Link-Time Optimization (LTO) on CI?
Beta Was this translation helpful? Give feedback.
All reactions