<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 - Assertion `MSSA->dominates(NewDef, FirstDef) && "Should have dominated the new access"' failed when running GVN"
   href="https://bugs.llvm.org/show_bug.cgi?id=51915">51915</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Assertion `MSSA->dominates(NewDef, FirstDef) && "Should have dominated the new access"' failed when running GVN
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>trunk
          </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>david.stenberg@ericsson.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>alina.sbirlea@gmail.com, htmldeveloper@gmail.com, llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=25274" name="attach_25274" title="IR reproducer.">attachment 25274</a> <a href="attachment.cgi?id=25274&action=edit" title="IR reproducer.">[details]</a></span>
IR reproducer.

LLVM commit: 15feaaa359c7245bb59ff0a2aa3b806682f44286

$ opt -enable-new-pm=0 -licm -gvn -memcpyopt -S
should-have-dominated-the-new-access.ll
opt: /llvm/lib/Analysis/MemorySSAUpdater.cpp:505: void
llvm::MemorySSAUpdater::fixupDefs(const llvm::SmallVectorImpl<llvm::WeakVH>&):
Assertion `MSSA->dominates(NewDef, FirstDef) && "Should have dominated the new
access"' failed.

I have not been able to reduce this to a single-pass opt invocation, nor
reproduce this with the new pass manager.</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>