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

Add missing type unrollings #1677

Open
wants to merge 16 commits into
base: master
Choose a base branch
from
Open

Add missing type unrollings #1677

wants to merge 16 commits into from

Conversation

sim642
Copy link
Member

@sim642 sim642 commented Feb 12, 2025

Closes #1600. I once started working on it, but never completed it.

PR #1676 independently found two places with missing type unrolling (which are also among the ones found here) that have clear impact on precision. Thus, it would be a good idea to more systematically fix the issue as a preventative measure.

Currently this PR is mostly a scattering of TODOs that still need to be looked at.

@sim642 sim642 added cleanup Refactoring, clean-up precision labels Feb 12, 2025
@sim642 sim642 self-assigned this Feb 12, 2025
@michael-schwarz
Copy link
Member

Are there any circumstances under which unrolling might be the wrong thing to do?

@sim642
Copy link
Member Author

sim642 commented Feb 13, 2025

Are there any circumstances under which unrolling might be the wrong thing to do?

Yes, some places actually want to match TNamed and use the typedef name. For example, mutex types are recognized like this (instead of looking at the internal struct that they happen to be).
So this cannot be done blindly.

@sim642 sim642 marked this pull request as ready for review February 24, 2025 16:50
@sim642 sim642 added this to the v2.6.0 milestone Feb 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cleanup Refactoring, clean-up precision
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Audit for missing type unrollings
2 participants