Hello all,
clang-related PGO documentation recommends using PGO with -O2 (for
example:
https://clang.llvm.org/docs/UsersManual.html#profile-guided-optimization).
The question is: is there any reason why exactly -O2 is used in
examples? Are there any factors which can cause problems when using PGO
with -O3?
Thanks in advance for your advice!