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: Don't split up partially-hot call-finally pairs during 3-opt layout #109592

Merged
merged 1 commit into from
Nov 7, 2024

Conversation

amanasifkhalid
Copy link
Member

Fixes #109574. When identifying the span of hot blocks to reorder with 3-opt, make sure the hot section does not end between a call-finally pair; otherwise, swapping partitions will split the pair up.

@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 Nov 6, 2024
@amanasifkhalid
Copy link
Member Author

/azp run runtime-coreclr jitstress

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@amanasifkhalid
Copy link
Member Author

cc @dotnet/jit-contrib, @AndyAyersMS PTAL. Last jitstress run passed. No diffs, hence why we didn't hit this earlier. Thanks!

@amanasifkhalid amanasifkhalid merged commit e133fe4 into dotnet:main Nov 7, 2024
125 of 126 checks passed
@amanasifkhalid amanasifkhalid deleted the 3-opt-callfinally branch November 7, 2024 15:35
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.

Test failure: baseservices/exceptions/unittests/TryCatchInFinally/TryCatchInFinally.cmd
2 participants