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: Canonicalize newly recognized loops #96751

Merged
merged 3 commits into from
Jan 10, 2024

Conversation

jakobbotsch
Copy link
Member

@jakobbotsch jakobbotsch commented Jan 10, 2024

Create preheaders for all loops, not just loops recognized by old loop finding. Requires adding support for creating preheaders when the loop header is the beginning of a handler block, which requires updating the EH table (so we switch to fgExtendEHRegionBefore).

Create preheaders for all loops, not just loops recognized by old loop
finding.
@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 Jan 10, 2024
@ghost ghost assigned jakobbotsch Jan 10, 2024
@ghost
Copy link

ghost commented Jan 10, 2024

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

Issue Details

Create preheaders for all loops, not just loops recognized by old loop finding.

Author: jakobbotsch
Assignees: jakobbotsch
Labels:

area-CodeGen-coreclr

Milestone: -

Loops with headers at the beginning of handlers were not handled
correctly; those should get preheaders that become the new handler
begin.
@jakobbotsch
Copy link
Member Author

/azp run runtime-coreclr jitstress, runtime-coreclr libraries-jitstress

Copy link

Azure Pipelines successfully started running 2 pipeline(s).

@jakobbotsch
Copy link
Member Author

cc @dotnet/jit-contrib PTAL @BruceForstall

libraries-jitstres failure is #96715. superpmi-diffs failure looks like an infra issue. NAOT failure is #94728.

Diffs

@jakobbotsch jakobbotsch marked this pull request as ready for review January 10, 2024 19:23
@jakobbotsch jakobbotsch merged commit 4501ce9 into dotnet:main Jan 10, 2024
167 of 174 checks passed
@jakobbotsch jakobbotsch deleted the canonicalize-all-new-loops branch January 10, 2024 21:10
tmds pushed a commit to tmds/runtime that referenced this pull request Jan 23, 2024
Create preheaders for all loops, not just loops recognized by old loop finding.
Requires adding support for creating preheaders when the loop header is the
beginning of a handler block, which requires updating the EH table (so we switch
to fgExtendEHRegionBefore).
@github-actions github-actions bot locked and limited conversation to collaborators Feb 10, 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