Skip to content

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