-
Notifications
You must be signed in to change notification settings - Fork 12.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Type punning" some aarch64 SVE via pointers causes an internal compiler error #82859
Comments
@llvm/issue-subscribers-backend-aarch64 Author: Andrew Pinski (pinskia)
Take:
```
#include <arm_sve.h>
svint8_t f(svuint8x4_t s) {
fatal error: error in backend: Invalid size request on a scalable vector.
|
I believe this happens for passing any x4 type: https://godbolt.org/z/Y9PbYdWso |
This happens in the debug info producer at the part where it processes function arguments. It tries to query the argument's size, but fails as the argument is of an SVE type. SVE types are sizeless according to the ACLE. |
Fixed by #108008 |
Take:
Will cause an internal compile error:
The text was updated successfully, but these errors were encountered: