<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/84640>84640</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[Support] Add KnownBits implementations for avgFloor and avgCeil
</td>
</tr>
<tr>
<th>Labels</th>
<td>
good first issue,
llvm:support
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
RKSimon
</td>
</tr>
</table>
<pre>
Followup to #84211
These are implemented as part of #76644 but in SelectionDAG not in the KnownBits class directly
- [ ] Add KnownBIts::avgfloors/avgflooru/avgceils/avgceilu implementations based off #76644
- [ ] Add exhaustive KnownBits test coverage (can it be optimal or just correct?)
- [ ] Depending upon whether #76644 lands before or after this, you might need to update the SelectionDAG code or coordinate with @snikitav
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxsUs1upDwQfBpzaWWEDczPgcMkIz59ym2zL2BwA84aN7LbM5u3X5lkNUm0F2haXVR1dekY7eQRW9E8iuZS6MQzhfbH84tdyBc9mbe2I-follZgAqGqY62kFOVFlOf3588ZI4IOCHZZHS7oGQ3oCKsODDRm0GG_r2voE4P18IIOB7bkL-f_wNPW4xnh2dPNP1qOMDgdIxgbcGD39pnsAUTzCKK5wNmYD8T_HEV1FtVZX6fREYUoVPe3Tu_1gNbFe5nuWnVWEqHXEQ3QeJf7L0L8PesU2V4_q2WMDANdMegJQajjoD1Yhh6BVraLdkABXtM2FfJOouqEOn0nuOCK3lg_QVrJw21GnjHc7XPamwg9jhQw_1GPjAF4tlGoJ3ijBIudZgaPaPKx0mo042btF8sHMht-IArG-jxzszyDqMvo7S_L-lqYtjKn6qQLbOVBlmVZVUoWc6u1wtOp3h_GI8rjQUo8qkZLo5pRNnulC9uqUtVlVZ7kvmmU3I09nqQqB41lL_fHRtQlLtq6nXPXZUdhKmyMCdtjva_LwukeXdziqNREZGC0ITJsM0IpoZ6EUhkqqnNM60qBc7u5FKHN7Yc-TVHUpbOR452DLbst5S8fmC8Jylf8HogxO3yduhwi0N7kjye0rkjBtTPzuoVOdUJ1k-U59buBFqG6Tdv762EN9JrPrbpNfw7gtuafAAAA__-HJiDz">