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

irjit: Validate alignment in slow memory mode #15879

Merged
merged 2 commits into from
Aug 21, 2022

Conversation

unknownbrackets
Copy link
Collaborator

This adds checks for memory access (size and alignment) in irjit, dynamically as a separate op. This makes it mostly free when off.

Essentially implements #7340, but IR only. Doesn't actually force IR to recover from bad memory access, only makes it possible to show the exceptions if it would crash.

-[Unknown]

Basically to allow slow/fast memory to work with IR, including for
alignment checks.
@hrydgard
Copy link
Owner

That's a good way to do it, nice!

@hrydgard hrydgard merged commit b296bc7 into hrydgard:master Aug 21, 2022
@unknownbrackets unknownbrackets added this to the v1.14.0 milestone Aug 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants