<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/83296>83296</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[SCEV / LoopUnroller] crash
</td>
</tr>
<tr>
<th>Labels</th>
<td>
loopoptim
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
JonPsson1
</td>
</tr>
</table>
<pre>
clang -O3 -march=z15 crash_loopunroll.i -o a.out -w -mllvm -unroll-allow-remainder=false -mllvm -unroll-count=4
#253 0x000002aa209d718a llvm::ScalarEvolution::getBackedgeTakenCount
[crash_loopunroll.i.tar.gz](https://github.com/llvm/llvm-project/files/14437852/crash_loopunroll.i.tar.gz)
@serguei-katkov @modiking @nikic
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyUUk2PnSAU_TW4IRq4wKgLF--N46Jp0ibTdtvcJ6hUlBfAN-38-kZfk36li7IAwse555x7MEY7rsY0RJ2JajPc0uRD88av72P0K88uXn9reofrSPN3guYLhn4ion3livYB4_TZeX_d1uCdKyzNPcXCb4nmLzRfnLstNL9f5uicf8mDWdCu2gQi2gFdNH8-6_22JiJaSVhL2OnHDAKUoOwr2wcgAqt1ySuk-18iTkScnnt0GJ5u3m3J-vV-OJp0xn42ejQfcDbr44H-K7I6_y2jSBiK8ZWolkA1pXSNOxp0BLrRpmm7FL1fCHRH8fuSX4P_YvpEoBusM5FAx6UUZaWAQPfvElD_xkayaMK4GZvPmGZ_o0SyxWs723Xc96udbU8z3Qhdixoz0_CS1VwyeJDZ1MhaCS25ugw1B-iFVihFVZfDwPmgBp3ZBhhIBlDxknMmiweGQ4moTa17KTgQyfYOuWIXVfgwZjbGzTSVgPohc3gxLh5hAdjl-GuyCwHYsxOaw4jLNkYimbMxxZ8oySZ3pOz58ekTJdDRt95fPx5umEBUe08Tzbbgmv-2_OC4e37Q_B4AAP__sxzl-g">