<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 - [MCSchedModel] Variant class support in computeInstrLatency and getReciprocalThroughput"
   href="https://bugs.llvm.org/show_bug.cgi?id=38030">38030</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[MCSchedModel] Variant class support in computeInstrLatency and getReciprocalThroughput
          </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>Windows NT
          </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>MC
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>llvm-dev@redking.me.uk
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>andrea.dibiagio@gmail.com, atrick@apple.com, clement.courbet@gmail.com, gchatelet@google.com, llvm-bugs@lists.llvm.org
          </td>
        </tr>

        <tr>
          <th>Blocks</th>
          <td>36550
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Both MCSchedModel::computeInstrLatency and
MCSchedModel::getReciprocalThroughput are missing support for variant classes
from some versions of the methods.

They either assert if MCSchedClassDesc.isVariant() or don't take it into
account at all (and give some very odd latency/throughput numbers...). This
appears to be at least in part to them not always having access to a MCInst
instance which prevents them resolving with resolveVariantSchedClass.

Some of these methods may be not in use and can be removed, while for others we
need some way to resolve the variant to a default (worst case?) sched class.</pre>
        </div>
      </p>

        <div id="referenced">
          <hr style="border: 1px dashed #969696">
          <b>Referenced Bugs:</b>
          <ul>
              <li>
                [<a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Derive TTI instruction costs from scheduling models"
   href="https://bugs.llvm.org/show_bug.cgi?id=36550">Bug 36550</a>] Derive TTI instruction costs from scheduling models
              </li>
          </ul>
        </div>
        <br>

      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>