-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
JIT: peel off dominant switch case under PGO (#52827)
If we have PGO data and the dominant non-default switch case has more than 55% of the profile, add an explicit test for that case upstream of the switch. We don't see switches all that often anymore as CSC is quite aggressive about turning them into if-then-else trees, but they still show up in the async methods.
- Loading branch information
1 parent
f6f1220
commit 6ec2fba
Showing
6 changed files
with
442 additions
and
103 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.