Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
PGO: Add new tiers #70941
PGO: Add new tiers #70941
Changes from 58 commits
07de069
a7bbfaf
4b4967b
1392368
1a41355
4828f3e
1fa264b
71928f3
127b7d8
2cee8a9
911af8a
0316842
2022e68
246dd95
3a718af
41733fe
21c8f6e
f37012d
db9c71d
59b2bc9
ca5c347
a6318a0
f75e289
e9e12ea
81496c4
be329a1
48e375e
1ac3e19
f6b457a
7b9e5d4
cbddf5b
9345815
86523e7
6a0c05c
a073ed7
75da822
e83eb68
b1f4d2e
acdce3d
27f7228
2e478c0
557ec0c
48cf945
ca491a0
25bddf0
f777274
13e1211
15c0e2d
3d88252
60a77e5
df19c68
f46679c
4d77f85
c9bd079
d3f205b
ef4ae58
7fd0749
c4395f8
7fbcf17
a183996
ff471e1
b202b9f
64eb6df
07339dc
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
Large diffs are not rendered by default.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we really need block profiles for full instrumented/optimized methods? Seems like edge profiles might work -- unless perhaps the think you need is the is special handling for tail calls.
if so can you add a clarifying comment here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unfortunately we still need it for now, I'll allocate some time to investigate what is needed to enable edge-profiling after this PR
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As noted below, I think this is an OSR only problem.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So it could be
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
opts.IsInstrumentedOptimized() && opts.IsOSR()
is not working, for some reason it hits an assert even in non PGO OSR mode. I should be able to revert these changes once I fix "edge profiling" for optimized codeThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is an OSR only issue, as full method compilation will naturally start importing with
fgFirstBB
.