Skip to content

[GR-64844] Fix adapting of loop exit probabilities. #11204

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 1 commit into from

Conversation

graalvmbot
Copy link
Collaborator

This PR fixes adapting loop exit probabilities based on a provided frequency of 1 (for head counted loops). This would result in a loop where the loop exit probability is considered the likely path.
Using a frequency of 2 (for head counted loops) would actually result in the loop entered and loop exit probabilities both being 0.5, and thus, the loop expected to be entered exactly once.

@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label May 15, 2025
@graalvmbot graalvmbot closed this May 17, 2025
@graalvmbot graalvmbot deleted the ramosane/GR-64844/lex-probability branch May 17, 2025 01:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OCA Verified All contributors have signed the Oracle Contributor Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants