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

Use profile information to find best codegen strategy for switch statements. #98519

Open
hiraditya opened this issue Jul 11, 2024 · 0 comments
Open
Labels
PGO Profile Guided Optimizations

Comments

@hiraditya
Copy link
Collaborator

The codegen of switch statements have different strategies that can affect performance and code size e.g., jump-table, split jump-table, binary-tree etc. Currently there are hard coded thresholds which may not be suitable for all the cases in a large codebase.

Based on the discussion in #98391 using profile-information to make such decisions can help with better codegen.

@EugeneZelenko EugeneZelenko added PGO Profile Guided Optimizations and removed new issue labels Jul 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PGO Profile Guided Optimizations
Projects
None yet
Development

No branches or pull requests

2 participants