<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 - Expressions with side-effects (including function calls) should not appear in assert().(llvm-project/llvm/utils/TableGen/RegisterInfoEmitter.cpp: line 1291 )"
   href="https://bugs.llvm.org/show_bug.cgi?id=47072">47072</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Expressions with side-effects (including function calls) should not appear in assert().(llvm-project/llvm/utils/TableGen/RegisterInfoEmitter.cpp: line 1291 )
          </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>enhancement
          </td>
        </tr>

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

        <tr>
          <th>Component</th>
          <td>Object
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>info@ustchcs.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Expressions with side-effects (including function calls) should not appear in
assert().

commit e3546c78cabfbf670391a57766872f0a8e28a423

llvm-project/llvm/utils/TableGen/RegisterInfoEmitter.cpp: line 1291

  1290        for (const auto &RC : RegisterClasses) {
  1291          assert(RC.EnumValue == EV++ && "Unexpected order of register
classes");
  1292          (void)EV;
  1293          const RegSizeInfo &RI = RC.RSI.get(M);
  1294          OS << "  { " << RI.RegSize << ", " << RI.SpillSize << ", "
  1295             << RI.SpillAlignment;
  1296          std::vector<MVT::SimpleValueType> VTs;
  1297          for (const ValueTypeByHwMode &VVT : RC.VTs)
  1298            VTs.push_back(VVT.get(M).SimpleTy);
  1299          OS << ", VTLists+" << VTSeqs.get(VTs) << " },    // "
  1300             << RC.getName() << '\n';
  1301        }
  1302      }

Reported by: Ustchcs Toolsets Bugfinder
(bugfinder-13.2: Expressions with side-effects (including function calls)
should not appear in assert().)</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>