<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/55307>55307</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
Please backport scalable-vector instcombine fix
</td>
</tr>
<tr>
<th>Labels</th>
<td>
release:backport,
llvm:optimizations,
llvm:instcombine
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
frasercrmck
</td>
</tr>
</table>
<pre>
LLVM 14 enhanced some bitwise select optimizations but in doing so introduced new crashes on scalable vectors.
7bad1d281c79 adds an extra test
bafab9c09f68 fixes the crash
CC @rotateright
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxlUclu3DAM_Rr7IsSQpfF28GGaoKcE6Kl3LbStRLYGIp2lX1-OB2lTFBAkUqTeQtnkP8bHx59Poj4J2BazOfAC0wrCBnoLCAIhgiORLhTW8MtQSBsKu5MIm_ApbDO3c0w5-f36eIM34bLBBVCkTaAz0dgI4pVRUsaqkA-FPN_2zhpfe9XXrhuE8R6F2QS8UzaCAOnWZM1k7ODkMLW9mMI749ICN46vYPf3ojjJnMgQ5DAvVPpR-0EPpqRAEcYfEQwbssa9XFKmP9LubtLYBJJLqw0bXHnKPcdxIbpgoc-F-s5rDrTstuImTmJ8_TzuLjk9MwinAXEH5KBptOzKZXSaDfi6lXpSJ216JW2trQeonR-6oS1ZA0Qci-ZboVSGQyQzfsrky0KxNaUOQn3-5yf-q34xca01D2UYlVRKNrKtldbqVPV965ybZF-3ne9tw1OD1YRYXSGqlOcyj4cru8_IxRiQ8G_RIIZ5AzgUM77ZaUl5nPg_ILu8upfyGMJ4TOA3CgfJUw">