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

[Chore] Separate IR into its own crate #435

Open
wants to merge 10 commits into
base: main
Choose a base branch
from

Conversation

wingertge
Copy link
Contributor

Moves IR to a separate crate and moves some types around to more cleanly separate it from the runtime types like bindings.
Makes IR types implement Hash and Eq so they can be put into hash based collections like HashSet or HashMap. This is especially useful for Variable. To do this, a manual override is used for ConstantScalarValue::Float and the scope.
Adds optional bitcode serialization so we have more flexibility for the upcoming kernel cache.

@wingertge wingertge changed the title [Chore] IR refactor [Chore] Separate IR into its own crate Jan 19, 2025
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.

1 participant