[llvm-dev] Using PGO and -O3

Xinliang David Li via llvm-dev llvm-dev at lists.llvm.org
Sun Jan 28 18:51:56 PST 2018


It means using PGO with -O2 and above (including -O3).

David

On Sun, Jan 28, 2018 at 6:48 PM, Victor Leschuk via llvm-dev <
llvm-dev at lists.llvm.org> wrote:

> 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!
>
> --
> Best Regards,
>
> Victor Leschuk | Software Engineer | Access Softek
>
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20180128/e179dab8/attachment.html>


More information about the llvm-dev mailing list