Skip to content

Python: dataflow, bypass ssa nodes #4657

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

Closed
wants to merge 4 commits into from

Conversation

yoff
Copy link
Contributor

@yoff yoff commented Nov 12, 2020

The ultimate goal of this work is to remove SSA nodes from the data-flow graph. This should simplify our data-flow graph, but also simplify tasks such as solving variable capture. Unfortunately, it may in fact be necessary to solve variable capture first, as this is partly handled by SSA nodes and scope-entry definitions.

yoff added 4 commits November 10, 2020 23:04
extend `DefinitionNode` to handle `With`
An `EssaNodeDefinition` may not have flow into it from a
`ControlFlowNode`. This happens for instance with iterator variables
in for loops. Simply bypassing the `EssaVariable` therefor drops
the flow. Adding the defining node in-between restores it.
@yoff
Copy link
Contributor Author

yoff commented Nov 22, 2023

Closed in favour of #14777.

@yoff yoff closed this Nov 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant