<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Maybe we should update the documentation to state this directly?
      Currently its a little bit confusing.<br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 01/29/2018 05:51 AM, Xinliang David
      Li wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CALRgJCOsgWcLmFw9zdJUXKThHf9=J1oJAo=zO-8=5_x3Rdx2Hw@mail.gmail.com">
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      <div dir="ltr">It means using PGO with -O2 and above (including
        -O3).
        <div><br>
        </div>
        <div>David</div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Sun, Jan 28, 2018 at 6:48 PM, Victor
          Leschuk via llvm-dev <span dir="ltr"><<a
              href="mailto:llvm-dev@lists.llvm.org" target="_blank"
              moz-do-not-send="true">llvm-dev@lists.llvm.org</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello all,<br>
            <br>
            clang-related PGO documentation recommends using PGO with
            -O2 (for<br>
            example:<br>
            <a
href="https://clang.llvm.org/docs/UsersManual.html#profile-guided-optimization"
              rel="noreferrer" target="_blank" moz-do-not-send="true">https://clang.llvm.org/docs/<wbr>UsersManual.html#profile-<wbr>guided-optimization</a>).<br>
            The question is: is there any reason why exactly -O2 is used
            in<br>
            examples? Are there any factors which can cause problems
            when using PGO<br>
            with -O3?<br>
            <br>
            Thanks in advance for your advice!<br>
            <span class="HOEnZb"><font color="#888888"><br>
                --<br>
                Best Regards,<br>
                <br>
                Victor Leschuk | Software Engineer | Access Softek<br>
                <br>
                ______________________________<wbr>_________________<br>
                LLVM Developers mailing list<br>
                <a href="mailto:llvm-dev@lists.llvm.org"
                  moz-do-not-send="true">llvm-dev@lists.llvm.org</a><br>
                <a
                  href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev"
                  rel="noreferrer" target="_blank"
                  moz-do-not-send="true">http://lists.llvm.org/cgi-bin/<wbr>mailman/listinfo/llvm-dev</a><br>
              </font></span></blockquote>
        </div>
        <br>
      </div>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Best Regards,

Victor Leschuk | Software Engineer | Access Softek</pre>
  </body>
</html>