<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/73828>73828</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[mlir][sparse] Shift count is too big warning when building mlir on windows
</td>
</tr>
<tr>
<th>Labels</th>
<td>
mlir
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
Hardcode84
</td>
</tr>
</table>
<pre>
```
D:\projs\llvm\llvm-project\mlir\include\mlir/Dialect/SparseTensor/IR/Enums.h(537): warning C4293: '<<': shift count negative or too big, undefined behavior
D:\projs\llvm\llvm-project\mlir\include\mlir/Dialect/SparseTensor/IR/Enums.h(541): warning C4293: '<<': shift count negative or too big, undefined behavior
D:\projs\llvm\llvm-project\mlir\include\mlir/Dialect/SparseTensor/IR/Enums.h(549): warning C4293: '<<': shift count negative or too big, undefined behavior
```
long type is always 32 bit on windows.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJzck0GO3CoQhk9T3qBn2YWxzcKLHvtZyTaTC4ChbSIaWoC71bePcM9MRjnALCKVVFSBSvo__hIxmtVpPQB7ATYVYk-bD8M3EdTile6bQnr1GKCt3qKaoDpNQE_AxmvwvyKw0drb5S39l3t6ScDGizUB2GjcYnel3xs4T0bY_ALn16sIUf_ULvp88f0H4Py_2y-x3AB7RjtADvRE7iI441YyNshpbgB2QMcc-XAicTPnRBa_u0ScXkUyN018IMl7Is0KOJLdKX02Tisi9SZuxoevlNLU_44U_gVS_vKb9W4l6XHVxEQi7F08IqFIpEnEO3I3Tvl7LAs1UMUpF4Ue6q6qses5a4ttkE2PojsvrG2RMym7pdVYIcVKcGQ9FmbIZV0jrzvkdVtqrjjWDdJzd-64qqCp9EUYW2aapQ9rYWLc9dDRHvvCCqltPFYI8ckT8zKF4YAv9zVCU1kTU_wzIJlkj7V7_sgE7CUe5IFN5PUTOhPfiX0gv2_aEbkbq3KVB3ziUOzBDltK15j9gDPgvJq07bJc_AVwPnzxTB--wPnQEwHnQ9LvAAAA__9BX0nP">