Skip to content

PartialRedundancyElimination GVN #1309

Open
computerdisciple wants to merge 25 commits into
phate:masterfrom
computerdisciple:pre_gvn
Open

PartialRedundancyElimination GVN #1309
computerdisciple wants to merge 25 commits into
phate:masterfrom
computerdisciple:pre_gvn

Conversation

@computerdisciple
Copy link
Copy Markdown

The original code was rewritten to be cleaner, more generic and add support for theta nodes.

ApplyDataFlowsTopDown -- A function taking care of the passing of analysis data to be passed between nodes. This also handles the general case of checking for fixed points when data flows stabilize. Data analyses can thus be written in a pure reactive style. This function could also be used for other data flow analyses.

Theta nodes -- The initial values passed into a theta node should not be used to compute GVN values. This is solved by detecting variant values on loop body exit and doing a second pass through the theta region.

@phate
Copy link
Copy Markdown
Owner

phate commented Oct 8, 2025

@computerdisciple I will have a look at the PR after the update as discussed in the meeting.

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.

2 participants