<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p><font face="Hack Nerd Font Mono">Not all passes have an "off
        switch". As far as I can tell, (IP)SCCP does not have one.</font></p>
    <p><font face="Hack Nerd Font Mono">We can, probably should, add
        those to all passes though.</font></p>
    <p><font face="Hack Nerd Font Mono"><br>
      </font></p>
    <p><font face="Hack Nerd Font Mono"><br>
      </font></p>
    <div class="moz-cite-prefix">On 6/26/20 2:02 PM, Umesh Kalappa via
      llvm-dev wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAGfacvTJNcDVDRKe7VDF4gSBAh=Z33A_3BhZKHo4GLh7q=BCmQ@mail.gmail.com">
      <pre class="moz-quote-pre" wrap="">Hi Neil,
I'm using clang here.

Umesh

On Fri, Jun 26, 2020, 20:44 Neil Henning <a class="moz-txt-link-rfc2396E" href="mailto:neil.henning@unity3d.com"><neil.henning@unity3d.com></a> wrote:

</pre>
      <blockquote type="cite">
        <pre class="moz-quote-pre" wrap="">Hey Umesh!

How are you running the optimization passes here? Using the command line
with opt? Using clang? Or are you using a PassManagerBuilder?

Cheers,
-Neil.

On Fri, Jun 26, 2020 at 3:06 PM Umesh Kalappa via llvm-dev <
<a class="moz-txt-link-abbreviated" href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a>> wrote:

</pre>
        <blockquote type="cite">
          <pre class="moz-quote-pre" wrap="">Hi Everyone,

How do we particular  disable optimization in llvm with -O2 enabled?

for example
 "Interprocedural Sparse Conditional Constant Propagation"

Thank you
~Umesh
_______________________________________________
LLVM Developers mailing list
<a class="moz-txt-link-abbreviated" href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a>
<a class="moz-txt-link-freetext" href="https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev">https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a>

</pre>
        </blockquote>
        <pre class="moz-quote-pre" wrap="">

--
Neil Henning
Senior Software Engineer Compiler
unity.com

</pre>
      </blockquote>
      <pre class="moz-quote-pre" wrap="">
</pre>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
LLVM Developers mailing list
<a class="moz-txt-link-abbreviated" href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a>
<a class="moz-txt-link-freetext" href="https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev">https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a>
</pre>
    </blockquote>
  </body>
</html>