<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/90327>90327</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            llvm/utils/TableGen/GlobalISelCombinerEmitter.cpp:2425:24: warning: Assert statement modifies 'ExpectedID'. [assignmentInAssert]
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            tablegen,
            code-quality
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          dcb314
      </td>
    </tr>
</table>

<pre>
    Source code is

      assert(ExpectedID++ == ID && "combine rules are not ordered!");

If asserts are switched off, this code might not work.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxMksGSnCAQhp-mvVBrYaPDzMHDzLpuzXnzAgitkqBMADPZt0-JW5X1IBTV_ff_f6BitNNK1EJzg6Yr1JZmH1qjB1HVxeDNZ_vht6CJaW-I2Qi8A349_ix_KkYKCfD89vdBOpG5d4A3wBsD0YHo2L1jgCfAEwNE7ZfBrsTC5igyFYitPjEfDAUygBUgAl5A3L4Puo9fU46O-LRJz2SYH0fAV5ZmGw9_i53mlBWfPvwqC9MKcxEXVVBbyapGLvlJFnM7olKyEad61OOFDyQqrS-m5ihEI6qTLmyLHGteo-RnIWtZ6kHVaM7jKKqzJJJQc1qUdaVzf5bSh6mwMW7UXrhAWTg1kIsZKmJSg6OJ1hztNTMw9PJ7U86mz_2w6YrQ7jovwzZFqLmzMcX_yskmR7kAsN-SdRGw_7Grvu-q_bvzg3L3D3KvB93wttiUKJT68QBxxRqbvIC4sqcKq12nfXvNTFlMKtFCa2KLN3a0FBmg_H6bsmTQ3I63shfe16N1d74F184pPSKIK2AP2E82zdtQar_b_XKd0z2C_0k6AfaZ1Z4i4_oXAAD__zOZyi8">