<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 - Infinite Loop in InstCombine when Volatile memcpy are Present"
   href="https://bugs.llvm.org/show_bug.cgi?id=51273">51273</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Infinite Loop in InstCombine when Volatile memcpy are Present
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>tools
          </td>
        </tr>

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

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </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>opt
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>tstellar@redhat.com
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>mohammad.fawaz@intel.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>This issues started happening after
<a href="https://github.com/llvm/llvm-project/commit/b373b5990d5991a920c421b21a352e4ccf4c4993">https://github.com/llvm/llvm-project/commit/b373b5990d5991a920c421b21a352e4ccf4c4993</a>

Basically, if the memcpy is volatile, the collectUsers() function should return
false, just like we do for volatile loads.

The fix just got merged into trunk:
<a href="https://github.com/llvm/llvm-project/commit/b4d945bacdaf2c60dd5fdb119b90cced73c41beb">https://github.com/llvm/llvm-project/commit/b4d945bacdaf2c60dd5fdb119b90cced73c41beb</a>

The request here is to also merge the change on the 13.x branch. I believe the
first change mentioned above is already on the 13.x branch.

Thanks!</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>