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

Support running discharge after monomorphization and before lowering. #471

Merged
merged 6 commits into from
Oct 22, 2024

Conversation

UnsignedByte
Copy link
Collaborator

@UnsignedByte UnsignedByte commented Oct 18, 2024

@rachitnigam
Copy link
Member

Also fixes the problem with Exprs you mentioned? Also, LGTM

@UnsignedByte UnsignedByte changed the title Use sparseindexinfos for discharge Support running discharge after monomorphization and before lowering. Oct 21, 2024
@UnsignedByte
Copy link
Collaborator Author

Fixes things now. I added discharge + typechecking after monomorphize if that seems reasonable?

crates/ir/src/fact.rs Outdated Show resolved Hide resolved
@rachitnigam
Copy link
Member

Minor comment, LGTM!

@UnsignedByte UnsignedByte enabled auto-merge (squash) October 22, 2024 19:01
@UnsignedByte UnsignedByte merged commit 399ecd5 into main Oct 22, 2024
4 checks passed
@UnsignedByte UnsignedByte deleted the discharge-bugfix branch October 22, 2024 19:07
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.

Discharge fails if any indices have been invalidated.
2 participants