<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [InstCombine] Taking an order of magnitude longer in 12.0.0 than in 10.0.0 for some examples."
   href="https://bugs.llvm.org/show_bug.cgi?id=50155">50155</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[InstCombine] Taking an order of magnitude longer in 12.0.0 than in 10.0.0 for some examples.
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>new-bugs
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>enhancement
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>new bugs
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>christine.andress@metrics.ca
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>htmldeveloper@gmail.com, llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=24809" name="attach_24809" title="gzipped ir module exhibiting much slower InstCombine optimization pass.">attachment 24809</a> <a href="attachment.cgi?id=24809&action=edit" title="gzipped ir module exhibiting much slower InstCombine optimization pass.">[details]</a></span>
gzipped ir module exhibiting much slower InstCombine optimization pass.

For some functions, the --instcombine optimization takes excessively longer
with llvm 12.0.0 than it does with llvm 10.0.0.

In the attached example, a run of "opt -o=out.o --instcombine test_instcomb.ir"
takes 53 seconds, where it used to take around 2 seconds when version 10.0.0
was used (albeit version 12.0.0 combines more instructions).

Is there a way to mitigate this speed performance degradation when using the
library interface (i.e. from C++ library API, not from the opt tool)?</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>