Skip to content

Conversation

@amanasifkhalid
Copy link
Contributor

Late follow-up to #71273. I noticed fgRelocateEHRegions currently never tries to move handler regions (even if we aren't doing hot/cold splitting) because fgDetermineFirstColdBlock must keep handler entries hot, which is no longer true. I plan to enable that functionality in the next PR; for now, this cleans up all the dead code around HANDLER_ENTRY_MUST_BE_IN_HOT_SECTION. This should be a no-diff change.

cc @dotnet/jit-contrib, @AndyAyersMS PTAL. Thanks!

@ghost ghost added the area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI label Apr 26, 2024
@amanasifkhalid
Copy link
Contributor Author

/azp run runtime-jit-experimental

@dotnet-policy-service
Copy link
Contributor

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

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

// we assert that it is OK to create new blocks.
//
assert(fgPredsComputed);
assert(fgSafeBasicBlockCreation);
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We previously needed to these transition blocks when splitting after a BBJ_COND. Since removing its implicit fallthrough behavior, we no longer create transition blocks here.

@amanasifkhalid
Copy link
Contributor Author

No diffs.

@amanasifkhalid
Copy link
Contributor Author

Build failure in runtime-jit-experimental looks unrelated.

@amanasifkhalid amanasifkhalid merged commit dd87633 into dotnet:main Apr 26, 2024
@amanasifkhalid amanasifkhalid deleted the cold-handler-entry branch April 26, 2024 20:46
matouskozak pushed a commit to matouskozak/runtime that referenced this pull request Apr 30, 2024
michaelgsharp pushed a commit to michaelgsharp/runtime that referenced this pull request May 9, 2024
@github-actions github-actions bot locked and limited conversation to collaborators May 27, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

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