<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/64380>64380</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            Backport f2e7285b03fbfc263c8a2eaa2b5e2e1cfafc6abd to LLVM17
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            backend:AArch64,
            miscompilation,
            release:backport
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          ostannard
      </td>
    </tr>
</table>

<pre>
    /cherry-pick f2e7285b03fbfc263c8a2eaa2b5e2e1cfafc6abd

This fixes a miscompilation when using AArch64 pac-ret with C++ exceptions.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyMkE2P2yAQhn_N-IIS4SH-OnBwNvJpe6t6H_AQ0yXGAtzd_fdV0qhVb3sBaUavnnleytlfV2YNzRmaS0V7WWLSMRdaV0pzZeL8qQEnu3BKn4fN2zfhkDvsGyOVM85iq2xPyERoGkaurSNnWzIzyAvI8c_7ffFZOP_BWZC4-WzjbfOBio-reF94FXv261WMY7JLexIb2UPiIt59WcQL4BnwLPjD8nZP5GM1azUPaqCKdd0OtWyGTqlq0QZd18nedaptm9oiNdy1zhmUA7Eb-sprlKhkL1UtT32jjlzP0lhSSG3HAzOcJN_Ih2MIv27HmK6Vz3ln3Z5UL6tAhkN-1IVoyL7xOoMan3cDIuALIP5v-HecODBlBjXeo1tM5b5qLlXSd9rB7NcMJxl8Lvkfv_gSWJ-fiS_XL0oUr68_vtVdtaegl1K2DGoEnACnqy_Lbo423gCnO-n5HbYUf7ItgNNDOwNOD_PfAQAA___ofq88">