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

    <tr>
        <th>Summary</th>
        <td>
            clang/lib/Sema/SemaChecking.cpp:6050:39: warning: Logical disjunction always evaluates to true
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            clang
      </td>
    </tr>

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

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

<pre>
    Static analyser cppcheck says:

trunk/clang/lib/Sema/SemaChecking.cpp:6050:39: warning: Logical disjunction always evaluates to true: ArgExtValue >= 0 || ArgExtValue <= 7. [incorrectLogicOperator]

Source code is

 assert((ArgExtValue >= TileRegLow || ArgExtValue <= TileRegHigh) &&
 "Incorrect tile register num.");

</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJy8Uk9r3D4U_DTPFxEjS7a8Oviw2Y35_SBQaErvsvwsK9FaRn92u9--eLOhoZQeC0JPMKPRDBoVozULYgfNIzTHQuU0-9CNeuBVXQx-vHYvSSWriVqUu0YMRK-rnlG_kaiuEfge6BHofU8hL2_Aeu3UYoD1zg7A-hc8qfs4bDftYkq9rsD3gjYU-J5L4HtyUWGxi9mOz95YrRwZbXzNi07WL0S5i7pGgmflskoYSfIkhYwbfx_M04_0XbmMBPgT8COhBNoDtIffsMOGtSWB5tEu2oeAOt1e-7JiUMkHaI6fE734HDQS7UckNn5GiIoRQwK2A7b7g4Fv1uFXNM_-8hcnd9J_1szAJAEmtvWuD4z9_2GRJOuQBDQ2JgxkyacSGAMmgT--04ux46PkUhXYVUK2VSslFcXcaUHHQdeMVc0kpdK0nVo5TlMjBK_EpAvbMcp4RStORVPVomxQi5rLYaj1RHftADXFk7KudO58Kn0whY0xYyd2stkVTg3o4q1AjN0_nm1dCt3GfxiyiVBTZ2OKvxSSTQ67f9mTIgfXzSmtt9KyHlhvbJrzUGp_2jy488d4WIN_RZ2A9bekEVh_C_szAAD__6SQ_zY">