<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 - [SelectionDAG] Loop in SelectionDAG (DAGCombiner)"
   href="https://bugs.llvm.org/show_bug.cgi?id=43971">43971</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[SelectionDAG] Loop in SelectionDAG (DAGCombiner)
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>libraries
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </td>
        </tr>

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

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

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

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

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

        <tr>
          <th>Component</th>
          <td>Common Code Generator Code
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>Wolfgang_Pieb@playstation.sony.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=22794" name="attach_22794" title="Test case.">attachment 22794</a> <a href="attachment.cgi?id=22794&action=edit" title="Test case.">[details]</a></span>
Test case.

The attached IR, when compiled with llc at -O2, causes SelectionDAG to loop,
apparently caused by DAGCombiner. The following commit seems to be the cause:

commit a1e5ef3fd424c105e5c1a4c310bde8b3b2c222c6
Author: Amaury Sechet <<a href="mailto:deadalnix@gmail.com">deadalnix@gmail.com</a>>
Date:   Tue Aug 27 11:06:09 2019 +0000

    [DAGCombiner] Add node to the worklist in topological order after
relegalization.</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>