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

Fix DSE pass for conditional block with single branch and unconditional execution #1930

Merged
merged 2 commits into from
Feb 12, 2025

Conversation

edopao
Copy link
Collaborator

@edopao edopao commented Feb 10, 2025

This PR addresses #1928 by fixing some code in DeadStateElimination (DSE) pass. This code was supposed to handle exactly the case reported in the issue, but the check for single branch with unconditional execution was not entirely correct. Test case added.

Includes a change in fpga tests to address a CI error not related to this change:
https://github.com/spcl/dace/actions/runs/13242670532/job/36961472662?pr=1930

@edopao edopao linked an issue Feb 10, 2025 that may be closed by this pull request
@edopao edopao requested a review from phschaad February 10, 2025 15:31
Copy link
Collaborator

@phschaad phschaad left a comment

Choose a reason for hiding this comment

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

LGTM, thank you!

@phschaad phschaad added this pull request to the merge queue Feb 12, 2025
Merged via the queue into spcl:main with commit bf54714 Feb 12, 2025
9 checks passed
@edopao edopao deleted the issue-unconditional_branch branch February 13, 2025 05:38
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.

State Fusion does not work in if True ConditionalBlock
2 participants