<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 - [RISCV] Merge 5b06cbac11e53ce55f483c1852a108012507a6bb into 13.0.0"
   href="https://bugs.llvm.org/show_bug.cgi?id=51593">51593</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[RISCV] Merge 5b06cbac11e53ce55f483c1852a108012507a6bb into 13.0.0
          </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>release blocker
          </td>
        </tr>

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

        <tr>
          <th>Component</th>
          <td>Backend: RISC-V
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>craig.topper@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>asb@lowrisc.org, llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>This patch fixes a bad MachineOperand access in vector FMA commuting. The bad
access triggers an assert on debug builds. It may cause incorrect code to be
generated with release builds.


commit 5b06cbac11e53ce55f483c1852a108012507a6bb
Author: Fraser Cormack <<a href="mailto:fraser@codeplay.com">fraser@codeplay.com</a>>
Date:   Tue Aug 17 15:01:19 2021 +0100

    [RISCV] Fix reporting of incorrect commutable operand indices

    This patch fixes an issue where RISCV's `findCommutedOpIndices` would
    incorrectly return the pseudo `CommuteAnyOperandIndex` as a commutable
    operand index, rather than fixing a specific index.

    Reviewed By: rogfer01

    Differential Revision: <a href="https://reviews.llvm.org/D108206">https://reviews.llvm.org/D108206</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>