<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/138335>138335</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
Funnel shift is not changed from right to left shift
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
AZero13
</td>
</tr>
</table>
<pre>
Yes I know this has two cases of subpar optimization: One where the funnel shift is 64-bit based, and the other is left funnel shifts that can be converted to a right funnel shift. This one is about the latter. However, this was lifted from one of gcc's test suites.
https://godbolt.org/z/Yd63ed3sv
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJxcUbtu3DoQ_RqqGViQSGl1t1CxN4GQVGnSOB0fQ5EJl1xwRruIvz6Q7CCwKxY8rzlHE8U1I85i_F-Mnxu9cSh1vvzAWnrVmOJ-z89I8BV-5fIADpEgaAJ-FLCakKB4oM3cdIVy43iNL5pjyUJd4FtGeASsCBwQ_JYzJqAQPUMkOA1PJjIYTeiE_AQ6uwNXOGDdAQk9v2MRcNAMVmcwCLbkO1ZGB1xAQ41reA9v4fuetmTc1bQpGx8GSTNjbeFLeeAd6-59nPXQBCn6XdHXcj2IxcNqrZATASMx0BYZqQXRXUR3Ccw3Euoi5CLkshZnSuK21FXI5UXI5dmdFDpF98bNyp3VWTc499Nwkv3pPExNmAdv1aStkb30Uz90vTfOqgl7NyqruqmJs-zk2I2dlF0_DlPrlUFrvJvM-TT0bhJDh1cdU5vS_bp7N5Fow7lX_yk1NkkbTHSsK2XGBxy_Qsp97DrvpCezrSSGLkVi-ifDkRPOy4fVcmGwQef1b0uvvXN5nevANVtN84duIofNtLZchVx2i7fn6VbLT7Qs5HIEIyGXt-T3Wf4JAAD__5xX30E">