<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/98729>98729</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
Should recent Apple CPUs use the new model instead of `CycloneModel`?
</td>
</tr>
<tr>
<th>Labels</th>
<td>
question,
backend:AArch64
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
DianQK
</td>
</tr>
</table>
<pre>
We recently discovered a performance issue with the apple m1 series in https://github.com/rust-lang/rust/issues/126937#issuecomment-2226834122. I believe this is due to EarlyIfConversion using an outdated mispredict penalty. The mispredict penalty from apple-a7 to apple-m4 uses `CycloneModel`'s definition of 16, which I assume is an outdated value?
cc @fhahn @TNorthover
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJx8kk-L2zAQxT-NfBkS7LHjPwcf0qSBpbS0dEvPsjSO1MpSqpGy5NsXJwtlYelFGkbwRu_NTzLbsycaxe6D2B0LmZMJcTxa6b99Kqagb-NPgkiKfHI30JZVuFIkDRIuFOcQF-kVgWXOBC82GUiGQF4ujmCpgClaYrAeTEoXFvVe4Eng6WyTydNWhUXgKWZOGyf9-bUWeLrrscBThe1QdwLre0eFZSGfNojY9nVTIW7hCSZylq4EyVgGy6AzQQrwUUZ3e5oPwV8psg0eMlt_Bukh5KRlIg2L5UskbVWCC3np0m0Lz4be6cMcw_IwtpHdqv-olwYyE4Noy8NNueDpc9DkRFsK7Bg0zdbbtE4PM1StwAO8GKsMPIFkzsua3ZsvXaXLJOqTKI-i3D9OpUA05Wyk8Wvx_CXEZNZFFHqs9VAPsqCx6rDsW9yVfWHGSTW9nFtsZNV3ra6oo7aehrmVw9w2qi_siCU2ZVfV5YBV028rKanXsu9LnOdK9aIpaZHWbZ27LtsQz8V9BePQdzgUTk7k-I4N4p9MvFoUiAIPAnGS6jd5Ler9fh-VaZv1ZXcs4riKbaZ8ZtGUznLif_LJJkfjdxOy06_Iwf4O0uHrD15TvrPl6QWWNWKwnhNJvQb7Tvr1qcjRjf_hbp38em0uMfwi9Qa9h9HriH8DAAD__4gsCZ0">