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

    <tr>
        <th>Summary</th>
        <td>
            [Clang] Clang does not work with bitshift
        </td>
    </tr>

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

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

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

<pre>
    When Clang compile this [code](https://godbolt.org/z/6Kvf11MT5), it incorrectly optimizes it to nothing at -O3.
The latest Clang that did compile the code correct was Clang 11.0.1. Adding a (uint64_t) at line 17 made Clang compile right.
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJxckbGOnDAQhp_GNKND9oBZKCjubkUTRWlWShnZeBY7MXiFh13dPX3ECinRVS5s__P985mcw7QQ9UK_CX0uzMY-rf3bSsZd0lzY5D76n54WeI9mmWBM8y1EAvYhg9BvY3Ik9Flg65lvWVSvAgeBw5ScTZHLtE4Ch0-BQ_PtflXq-0UL7AS-Q2AIy5jWlUaOH5BuHObwSXm_4ARLYh-WCQzDy4-qFPL14gmiYcp8sLA3DC64_6AIdiA4YuFh8vFWqVKWqoRX556pILDdwsJN_YsFdvuYGBYCdYLZOPrSdg2T57JwfeW6qjMF9epUq0aetFSF79u26qxtyGqJujXVqNtra8daXWWNJ4NF6FGilpWSSmlVy_JKlTaVbbqRVNUZFLWk2YRYxnif96UVIeeNelVJ3TZFNJZifjpCHHc0gbjrWvv9w4vdpixqGUPm_C-CA8en2GcZoc9HK5co7_uFR1r_wCOwBxs4-3DlYltj_8VkYL_ZckyzwGHPPo6X25p-08gChydrFjgcuPce_wYAAP__io_AVQ">