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

[BOLT] Cover all call sites in writeBATYAML #87743

Merged

Conversation

aaupov
Copy link
Contributor

@aaupov aaupov commented Apr 5, 2024

Call site information setting was conditioned on branch information
presence for a given block. However, it's possible to have sampled
profile lacking one or the other for a given basic block.

Iterate over branch profiles and call profiles independently to cover
all recorded profile data.

Depends on #87569

Test Plan: Updated bolt/test/X86/yaml-secondary-entry-discriminator.s

Created using spr 1.3.4
@aaupov aaupov marked this pull request as ready for review April 5, 2024 05:09
Created using spr 1.3.4
Created using spr 1.3.4

[skip ci]
Created using spr 1.3.4
Created using spr 1.3.4

[skip ci]
Created using spr 1.3.4
Created using spr 1.3.4

[skip ci]
Created using spr 1.3.4
Created using spr 1.3.4

[skip ci]
Created using spr 1.3.4
bolt/lib/Profile/DataAggregator.cpp Outdated Show resolved Hide resolved
bolt/lib/Profile/DataAggregator.cpp Outdated Show resolved Hide resolved
bolt/test/X86/yaml-secondary-entry-discriminator.s Outdated Show resolved Hide resolved
@aaupov aaupov changed the base branch from users/aaupov/spr/main.bolt-cover-all-call-sites-in-writebatyaml to main April 11, 2024 19:13
Created using spr 1.3.4
@aaupov aaupov merged commit 3997f0e into main Apr 11, 2024
3 of 4 checks passed
@aaupov aaupov deleted the users/aaupov/spr/bolt-cover-all-call-sites-in-writebatyaml branch April 11, 2024 19:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants