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

refactor(ir): move constraints and graph to ConstraintBuilder #222

Merged
merged 1 commit into from
Mar 17, 2023

Conversation

tohrnii
Copy link
Contributor

@tohrnii tohrnii commented Mar 15, 2023

This PR moves the graph and constraints to ConstraintBuilder.

Base automatically changed from tohrnii-ir-refactor to next March 16, 2023 13:00
@tohrnii tohrnii force-pushed the tohrnii-constraint-builder-refactor branch from c1bfbb9 to 14ac731 Compare March 16, 2023 13:41
@tohrnii tohrnii requested review from grjte and Fumuran March 16, 2023 13:42
@tohrnii tohrnii marked this pull request as ready for review March 16, 2023 13:42
Copy link
Contributor

@grjte grjte left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thank you! Just one optional thought inline

pub(super) fn insert_op(&mut self, op: Operation) -> NodeIndex {
pub(crate) fn insert_op(&mut self, op: Operation) -> NodeIndex {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: I've been wondering about changing this to insert_node or insert_graph_node as well. Wdyt?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changed it to insert_node since it seems like graph is already implied here.

Verified

This commit was signed with the committer’s verified signature.
Atul9 Atul Bhosale
@tohrnii tohrnii force-pushed the tohrnii-constraint-builder-refactor branch from 14ac731 to 0c3ab8c Compare March 17, 2023 10:39
@tohrnii tohrnii merged commit 4a400c3 into next Mar 17, 2023
@tohrnii tohrnii deleted the tohrnii-constraint-builder-refactor branch March 17, 2023 10:41
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.

None yet

2 participants