<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/54710>54710</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
mlir::Type class has non-generic APIs
</td>
</tr>
<tr>
<th>Labels</th>
<td>
mlir:core
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
River707
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
joker-eph
</td>
</tr>
</table>
<pre>
It seems like `Type::getIntOrFloatBitWidth()` are inherited from old times, is this tech debt that could/should be cleaned up?
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxFj8uK5DAMRb_G2YgqEuXVtfCiHwRq1cMwMGs_VLG7nTjYSkP__Tg1NQwIWxcJ3XN1tN_yypCJlgzBfxKIof71vZFon0vNxNeV39MUouIXz7-9ZSfwSeCl7IFKBH51lDyThVuKC8Rggf1CWeAr-AzsjoeMA0uai1QMJu7BCpyyOxrQBCaQWsuJfRPtVFnZ2kt7URV7DiSX4NNfnAOs7KqcwakMa1xPM63F3sDzj2uu9hSkY97ysY5Tqdmz2_XZxKWIEL7-factxQ8yXKTPeT9wp74bm7pyUiPa0nfW9EPf3PAJFZKiYUCjx0HfqqA0hSxF_yIQH3QmJipK9G-Vl1gj1l3dILYdtmfdq1H17W24dEPT9Y3oalqUD-eD5BzTXCV5h9L7nMsw-Mz5_7DE9fNK9DD86b8ojfX4cFM7u5jkR_ykdKLNVfc88h7mD9jqmiU">