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

JIT: Enable reusing profile-aware DFS trees between phases #112198

Merged
merged 2 commits into from
Feb 5, 2025

Conversation

amanasifkhalid
Copy link
Member

Revival of #112105. Add a switch to FlowGraphDfsTree that indicates if its traversal used edge likelihoods to determine the order in which successors were visited. This switch can then be used by debug checks that verify the DFS's correctness to check both types of trees. This functionality means we can frequently reuse the DFS tree annotations computed by LSRA throughout block layout.

@dotnet-issue-labeler dotnet-issue-labeler bot added the area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI label Feb 5, 2025
Copy link
Contributor

Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch
See info in area-owners.md if you want to be subscribed.

@amanasifkhalid
Copy link
Member Author

amanasifkhalid commented Feb 5, 2025

cc @dotnet/jit-contrib, @jakobbotsch PTAL. No diffs, and a slight TP improvement. Thanks!

@amanasifkhalid
Copy link
Member Author

/ba-g blocked by build timeouts.

@amanasifkhalid amanasifkhalid merged commit 2ccf715 into dotnet:main Feb 5, 2025
107 of 113 checks passed
@amanasifkhalid amanasifkhalid deleted the cache-profile-aware-rpo branch February 5, 2025 21:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants