Skip to content

[Profiler] Simplify PGOMapping a bit #60621

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

Merged
merged 2 commits into from
Aug 18, 2022
Merged

Conversation

hamishknight
Copy link
Contributor

Rather than re-computing the counter indices as we walk, use the indices that we've already computed as a part of MapRegionCounters. This should be NFC.

Eventually we should also stop duplicating the counter arithmetic, and instead rely on the CounterExprs computed by CoverageMapping. For now I'm leaving that as follow-up work.

Rather than re-computing the counter indices as we
walk, use the indices that we've already computed
as a part of MapRegionCounters. This should be
NFC.

Eventually we should also stop duplicating the
counter arithmetic, and instead rely on the
CounterExprs computed by CoverageMapping. For now
I'm leaving that as follow-up work.
@hamishknight
Copy link
Contributor Author

@swift-ci please test

@hamishknight hamishknight merged commit e1bb0bb into swiftlang:main Aug 18, 2022
@hamishknight hamishknight deleted the pogo branch August 18, 2022 14:16
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.

1 participant