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

[Relax][Transform] Canonicalize let var = R.const bindings #16601

Merged
merged 2 commits into from Feb 19, 2024

Conversation

Lunderberg
Copy link
Contributor

Prior to this commit, known tuples could be unwrapped into variables, but any constants would remain. This commit updates CanonicalizeBindings to unwrap tuples containing constants.

Prior to this commit, known tuples could be unwrapped into variables,
but any constants would remain.  This commit updates
`CanonicalizeBindings` to unwrap tuples containing constants.
The `test_unable_to_fold` was ported from the
`FoldDataflowBlockOutput` tests, and has been updated enough that it
no longer a purpose.
Copy link
Member

@Hzfengsy Hzfengsy left a comment

Choose a reason for hiding this comment

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

LGTM

@Hzfengsy Hzfengsy merged commit 36ebcd0 into apache:main Feb 19, 2024
19 checks passed
@Lunderberg Lunderberg deleted the transform_unwrap_tuple_of_constant branch February 20, 2024 14:19
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