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

Fixed imprecision in SCCP #558

Merged
merged 1 commit into from
Nov 8, 2023
Merged

Fixed imprecision in SCCP #558

merged 1 commit into from
Nov 8, 2023

Conversation

ThomasHaas
Copy link
Collaborator

This PR fixes a long standing issue where SCCP failed to propagate some constants over gotos.
I also added the simplification x +- 0 = x.
With both changes, some code gets heavily reduced especially when unrolling loops beyond their static bounds.

Also added a new simplification that removes add/sub with 0.
@ThomasHaas ThomasHaas merged commit 01fd689 into development Nov 8, 2023
1 check passed
@ThomasHaas ThomasHaas deleted the fix_imprecision_sccp branch November 8, 2023 14:40
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