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

Check IR invariants #1644

Open
kyouko-taiga opened this issue Jan 23, 2025 · 0 comments
Open

Check IR invariants #1644

kyouko-taiga opened this issue Jan 23, 2025 · 0 comments
Assignees

Comments

@kyouko-taiga
Copy link
Contributor

The IR is typed and relies on many other invariants for wellformedness. However, none of these properties are properly enforced in the current implementation. It would be good to have a procedure to check that all invariants are satisfied so that we can assert wellformedness after a particular phase.

It should be noted that the invariants that hold will depend on the "stage" of the IR. In particular, raw IR does not necessarily defines an end access for each start access. The invariant check should therefore be parametrized by the phase to ignore certain invariants.

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

No branches or pull requests

2 participants