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: Clone newly recognized loops #96754

Merged
merged 1 commit into from
Jan 12, 2024
Merged

Conversation

jakobbotsch
Copy link
Member

@jakobbotsch jakobbotsch commented Jan 10, 2024

On our win-x64 collections this leads to around 800 more cloned loops (base: 24925, diff: 25775).

@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

Based on #96751

Author: jakobbotsch
Assignees: jakobbotsch
Labels:

area-CodeGen-coreclr

Milestone: -

@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 jakobbotsch marked this pull request as ready for review January 11, 2024 11:29
@jakobbotsch
Copy link
Member Author

cc @dotnet/jit-contrib PTAL @BruceForstall

Diffs

On our win-x64 collections this leads to around 800 more cloned loops (base: 24925, diff: 25775). Likely we will also get some more cases when we fix

// TODO-Quirk: For backwards compatibility always try the lexically
// bottom-most block for the loop variable.
BasicBlock* bottom = GetLexicallyBottomMostBlock();
JITDUMP(" Bottom = " FMT_BB "\n", bottom->bbNum);

@jakobbotsch jakobbotsch merged commit 3467066 into dotnet:main Jan 12, 2024
174 checks passed
@jakobbotsch jakobbotsch deleted the clone-new-loops branch January 12, 2024 10:30
tmds pushed a commit to tmds/runtime that referenced this pull request Jan 23, 2024
On our win-x64 collections this leads to around 800 more cloned loops (base: 24925, diff: 25775).
@github-actions github-actions bot locked and limited conversation to collaborators Feb 12, 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