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

Propagate precise from formal parameter to actual parameter #6058

Merged
merged 1 commit into from
Nov 30, 2023

Conversation

s-perron
Copy link
Collaborator

It is unclear what should happen if an input parameter on a function is
marked as precise. I am choosing to propagate it to the actual
parameters.

Note that it is not wrong to propagate precise more than we should since
it will only stop some optimizations.

Copy link
Contributor

github-actions bot commented Nov 23, 2023

✅ With the latest revision this PR passed the C/C++ code formatter.

@s-perron s-perron requested a review from sudonatalie November 30, 2023 14:30
It is unclear what should happen if an input parameter on a function is
marked as precise. I am choosing to propagate it to the actual
parameters.

Note that it is not wrong to propagate precise more than we should since
it will only stop some optimizations.
@s-perron s-perron enabled auto-merge (squash) November 30, 2023 20:31
@s-perron s-perron merged commit 8b24477 into microsoft:main Nov 30, 2023
10 checks passed
@s-perron s-perron deleted the precise branch December 1, 2023 14:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants