<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/64406>64406</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[aarch64] BigEndian with SVE crash at bitcast dag select
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
joyhou-hw
</td>
</tr>
</table>
<pre>
case as: https://godbolt.org/z/j8s19Ksqq
will crash with aarch64_be and sve O2 case:
`fatal error: error in backend: Cannot select: 0xcfe5100: nxv4i32 = bitcast 0xd0053d0, example.cpp:15:24`
I found a commit reletad this.
https://reviews.llvm.org/D79352
How could fix this?
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxckk2PmzwQxz-NuYw2MjaGcOCQ3Sx6HvXQQ6Veq8GegFODs7YJ2X76ChJtt73AeOx5_f0xRttPRA1Tz0wdM5zT4ENz9u-Dn5-GJeu8eW80RgKMTB5gSOmyGky0TLS9N513aedDz0T7i4n2vI95_SW-vTF-ZPxw_y7WOdAB4wCLTQMgBj2UxY-OACcD8UrwVcBaZc18Dyz5CRM6oBB8WCtvBtgJOtQ_aTKr7wWnySeI5Ein1cFv-kQq53w9TLdrYaUAJo_Q2aQxJuA3w7mShjPxAnTD8eJopy8XJg-5YvIgClbyz73_Dyc_TwYQtB9HmyCQo4QG0mDjDu6P_t5KoKulJe6cu46P1RyrWirxOe9_fgHtZ2fgZG9bMiZbyEwjTS1rzKjJyzrPZS7LKhuazpSoutpog3uJuuJKnWotqOQiL6SoM9sILiTf84KXhSiqXU0VGl2rPSpZ4R5ZwWlE6z7aymyMMzVlUfAyc9iRi5sMhJhoge2SCbGqIjRrzFM395EV3NmY_gyXJZvcpp8HVaaO8Gz718lYnO68v31_feDH9EHCYP8AB9kcXPOPsmwa5m6n_chEu9Z6_J4uwZ9X2KLdOoxMtNsEvwMAAP__yKHd0Q">