<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/60537>60537</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[ADT] Add llvm::rotl and llvm::rotr to bit.h
</td>
</tr>
<tr>
<th>Labels</th>
<td>
llvm:support
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
RKSimon
</td>
</tr>
</table>
<pre>
ADT/bit.h matches most of the functions included in the C++20 <bit>header - the only missing functions are the bit rotation helpers.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxckMGO3CoQRb8Gb1BbdGHG4wWL7unnzdsl-QEwZUOEwYJypPn7yCRSoqyQ7qGuqo6pNWwJUTP1ZOrVmZN8LvrL_1_DnlNns_vUj9c3BrMN1Hu-G1o8Vr7nSjyvnDzy9UwLhZwqD2mJp0PHQ2rkg8GTwRMEZ_LDBmLyP4_GYeG3xnOKn3wPtYa0_VVjCjZsA_GSyVwp9xgPLLXvnJZukpPpUN_fRqUmcYeh89oN7r44Y-WyrAOCMsZO73aV73fEabRTFzQIkAKEEtMAYuhRISozDTg6qcZhZYPA3YTYx_hj73PZulDrifpNKDl20ViMtYkCuH4w-ajnceRCDOCSV_QV3-y5VTaIGCrVP1UUKDbNl0714g_n-O8WJh8lU-Qm_RMVTpk38d1ZovZER70gzAzmLZA_bb_kncHcxn49t6Pk77gQg7mtXxnM7YKfAQAA___b-p80">