<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/122829>122829</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
Infinite loop in MLGO regalloc advisor
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
pirama-arumuga-nainar
</td>
</tr>
</table>
<pre>
See reproducer at https://drive.google.com/file/d/1sdznuNjRXXl2whBczMhL0OpLlLVzXBRP/view?usp=sharing. (NB: the reproducer uses ThinLTO and was built against 99d0780f050c830c046c6f8790821880ab7c71f5)
The above reproducer hangs when building ToT LLVM with Android's [regalloc models] (https://android.googlesource.com/platform/prebuilts/clang/host/linux-x86/+/refs/heads/main/mlgo-models/arm64/regalloc-evict-aosp/). (I haven't been able to build with official MLGO-released-models yet).
cc: @mtrofin @kongy
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJxUU82OozgQfhpzsYhsAwEOHBK1WI2Unl7NRqO-FnaBPWtsZJtkup9-Bcnuqk9lqaq--n4AYjSTQ-xIdSbVSwZr0j50iwkwQw5hndcJcgfGQcgGrz66vxBpwCV4tUoMFBLVKS2RFCcieiJ6FcwND5P3k8WD9DMR_Wgsbh0ieh7Vp1u___rx_m7FXZ_l56u-sLflYi8_P9_PP_4kor8ZvJOiX-NCipeoIRg3HSgRzfczKU406S8E1oiRXrVxl-sbBafoHSIdVmMThQmMi4m2rWJ1w0ZWMdkUTLLyKI9jU7esEbxpGAy1rPlYEdESdiLsdNVIYfC3L4c0uCnSu0a3wyvjJnr1V3q5_Hyld5M0PTkVvFFE1JGS6hxwAmu9pLNXaCOpXjYRX92Cx8rTr-jXIP91bbGQRh_2Z8BdUSSilxbcRESvfUxE9Na49Xf-uznueGci-oDjNqcR1FZnMG4rdvL5k4joIczHcp99UMzxZmTKwcdlx2l3v79RDTd0RNSJDoiOwmCRJv_Q_9Dsx9FIA5a-Xv54ywNahIjqeYl-YNrAHq5KucVHSjan4Efjtuff3k0fNFNdodqihQw7XhfHhhel4JnuygHaCtnYKF5waEZectkwVqmillDBkJlOMFExzkvGOBP8MA68OCpWD0WN1VgKUjKcwdiDtbf54MOUmRhX7LgQjWgzCwPauH_9Qji8071LhNh-htBtS_mwTpGUzJqY4v8wySSL3Tc3GmcSUuv9Qo3bbaD_JQ_qZqIP2Rps9zX4ySS9Ds-oN9BnyZfgf6Hcot2pbGk9ud468U8AAAD__8z2MlM">