Skip to content

Compiler: reduce number of deadcode pass #1998

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 2 commits into from
Closed

Compiler: reduce number of deadcode pass #1998

wants to merge 2 commits into from

Conversation

hhugo
Copy link
Member

@hhugo hhugo commented May 16, 2025

No description provided.

@vouillon
Copy link
Member

ocamlc needs quite a lot of deadcode passes to converge (a conditional gets turned into a branch, which allows some code to be removed, while allows a previous conditional to get optimized away, and so one). So, with this change, more rounds are necessary. I'm not sure what we can do about that.

@hhugo
Copy link
Member Author

hhugo commented May 16, 2025

replaced by #2001

@hhugo hhugo closed this May 16, 2025
@hhugo hhugo deleted the less-deadcode branch May 16, 2025 20:43
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