<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/106134>106134</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
Bump width of `AttributeBitSet` to 16 bytes
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
yuxuanchen1997
</td>
</tr>
</table>
<pre>
With my recent rebase of https://github.com/llvm/llvm-project/pull/99282, I discovered that my code no longer compiles because we have more than 96 attributes. There's a static assertion that prevents the current AttributeBitSet from overflowing and the current width for the bitset is 12 bytes.
https://github.com/llvm/llvm-project/blob/main/llvm/lib/IR/AttributeImpl.h#L278
I propose that we should for now bump the width to 16 bytes (128 unique attributes).
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyUkr-O2zAMxp9GXogaMuP4z-Dh0oOBAJ3aAp0lm45VyJIrUUnz9oWdXpt2u0UCKJH8fR-pYjQXR9SJ40kcXzOVePahu6efSblhJle0bZ1pP967b4ZnWO4QaCDHEEirSOAnmJnXKA4vAnuB_cXwnHQ--EVgb-317fqwBv-dBhbYr8lagX3bYoMCP8IZRhMHf6VAI_CseGsz-JHAebDeXSjA4JfVWIqgaVApEtwIZnUlWHygLclBW4FiDkYnppjD15kCCawjKIis2AygYqTAxrtHlzXQlRxH4JlgSCFsul7eSpwMfyGGKfgFNrbJ-ptxF1Bu_CfhZkaeYfJhj2rDkRhMhAJB33cSIV-FfHmc7zZLW68F9osy7umP2WLnzwL7P7znZbX5LPDwCevmueUZ1uBXH-mh-kYQZ5_suDM7fwOdlnWHf0hhD0X1YAeBTYENJGd-JHqyV2CbZ2N3GNtDqzLqihrLWpZtjdncqWKoSNaDKpSiqj4WQ0myrmRTN1JNZZGZDiWWssEKZYlHzLFo9EGPatKNaopJilLSoozNN725D5fMxJioK2RVHMrMKk027juL6OgG-6tA3FY4dLuDOl2iKKU1kePfMmzYUnfaBD_E-glEJf8buqjkswtZCrZ79-B2piiw_w197fBXAAAA___xBSL5">