<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 - opt -jump-threading hangs"
   href="https://bugs.llvm.org/show_bug.cgi?id=48362">48362</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>opt -jump-threading hangs
          </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>mikael.holmen@ericsson.com
          </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=24227" name="attach_24227" title="bbi-50589_reduced.ll reproducer">attachment 24227</a> <a href="attachment.cgi?id=24227&action=edit" title="bbi-50589_reduced.ll reproducer">[details]</a></span>
bbi-50589_reduced.ll reproducer

Reproduce with:
 opt -o - bbi-50589_reduced.ll -S -jump-threading 

It doesn't seem to terminate.

This starts happening after 5486e00dc3e3:

    [InstSimplify] remove poison-unsafe insertelement of undef value

    PR45481:
    <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - Can't remove insertelement undef"
   href="show_bug.cgi?id=45481">https://bugs.llvm.org/show_bug.cgi?id=45481</a>

    SDAG has an identical transform to this, so there's little
    chance of any real-world impact. OTOH, that means we are
    effectively sweeping the bug out of sight because poison
    exists in codegen too.</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>