<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 - EarlyCSE MemorySSA breaks vpx_idct32x32_1024_add_neon from libvpx when targeting armv7"
   href="https://bugs.llvm.org/show_bug.cgi?id=36883">36883</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>EarlyCSE MemorySSA breaks vpx_idct32x32_1024_add_neon from libvpx when targeting armv7
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>5.0
          </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>enhancement
          </td>
        </tr>

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

        <tr>
          <th>Component</th>
          <td>Scalar Optimizations
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>martin@martin.st
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Since SVN r306477 of LLVM ([EarlyCSE][MemorySSA] Enable MemorySSA in
function-simplification pass of EarlyCSE.; present in the 5.0 and 6.0
releases), the vpx_idct32x32_1024_add_neon (intrinsics based) function of
libvpx gets broken/misoptimized. Not yet sure if this is an LLVM bug or some
other wrong with the function that allows the optimizer to break it.

To work around the issue, one can build with "-mllvm
-enable-npm-earlycse-memssa=false -mllvm -enable-earlycse-memssa=false".

The same issue is reported for libvpx at
<a href="https://bugs.chromium.org/p/webm/issues/detail?id=1510">https://bugs.chromium.org/p/webm/issues/detail?id=1510</a>.</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>