Skip to content

Conversation

@jakobbotsch
Copy link
Member

@jakobbotsch jakobbotsch commented Jan 22, 2024

Otherwise we will skip all code on the path from the loop test to the header, since our loop unrolling works by unconditionally redirecting the loop test to the next clone.

Fix #97321

Otherwise we will skip all code on the path from the loop test to the
header, since our loop unrolling works by unconditionally redirecting
the loop test to the next clone.
@ghost ghost added the area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI label Jan 22, 2024
@ghost ghost assigned jakobbotsch Jan 22, 2024
@ghost
Copy link

ghost commented Jan 22, 2024

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

Issue Details

Otherwise we will skip all code on the path from the loop test to the header, since our loop unrolling works by unconditionally redirecting the loop test to the next clone.

Author: jakobbotsch
Assignees: -
Labels:

area-CodeGen-coreclr

Milestone: -

@jakobbotsch
Copy link
Member Author

cc @dotnet/jit-contrib PTAL @BruceForstall

No diffs

@jakobbotsch jakobbotsch merged commit 5e1ad18 into dotnet:main Jan 23, 2024
@jakobbotsch jakobbotsch deleted the fix-97321 branch January 23, 2024 10:12
tmds pushed a commit to tmds/runtime that referenced this pull request Jan 23, 2024
Otherwise we will skip all code on the path from the loop test to the
header, since our loop unrolling works by unconditionally redirecting
the loop test to the next clone.

Fix dotnet#97321
@github-actions github-actions bot locked and limited conversation to collaborators Feb 23, 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.

JIT: Invalid loop unrolling with non-top-entered loops

2 participants