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

Basic block de-duplication #237

Open
stevehalliwell opened this issue Jan 7, 2024 · 1 comment
Open

Basic block de-duplication #237

stevehalliwell opened this issue Jan 7, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@stevehalliwell
Copy link
Owner

stevehalliwell commented Jan 7, 2024

Optimiser could identify basic blocks that are identical in operations and collapse their usage into one.

Often see a number of label pop goto end, coming from different locations in the same chunk.

@stevehalliwell stevehalliwell added the enhancement New feature or request label Jan 7, 2024
@stevehalliwell stevehalliwell changed the title Weaved de-duplication Basic block de-duplication Jan 19, 2024
@stevehalliwell
Copy link
Owner Author

Starting point here would be to ident basic blocks in chunks and then rework the existing optimiser passes so those that only care about basic bocks only iterate through basic blocks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant