Skip to content
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

[MooreToCore] OOB array slices of unpacked arrays lowered like packed arrays #8215

Open
maerhart opened this issue Feb 10, 2025 · 1 comment
Labels

Comments

@maerhart
Copy link
Member

If I understand IEEE 1800-2017 §7.4.6 Indexing and slicing of arrays right, an unpacked array slice should be 0/X in its entirety even if only a part of the slice is OOB. Currently, only the OOB part is 0/X because they are lowered just like packed arrays.

@maerhart maerhart added the Moore label Feb 10, 2025
@hailongSun2000
Copy link
Member

Image

I think you're exactly right!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants