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

[release/6.0-rc1] JIT: don't clone loops where init or limit is a cast local #57690

Merged
merged 2 commits into from
Aug 19, 2021

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Aug 18, 2021

Backport of #57602 to release/6.0-rc1

/cc @AndyAyersMS

Customer Impact

Already reported by one customer (in 6p7). Caused crossgen2 to fail.

Testing

Verified it fixes the customer issue, plus new tests added. No diffs in existing tests (per SPMI).

Risk

Low, this is a change to disable an optimization in an uncommon situation.

AndyAyersMS and others added 2 commits August 18, 2021 20:54
The loop cloner assumes all computations it introduces are compatible
with TYP_INT, so don't allow cloning when the initial or final value
are variables with incompatible types.

Fixes #57535.
@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 Aug 18, 2021
@ghost
Copy link

ghost commented Aug 18, 2021

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

Issue Details

Backport of #57602 to release/6.0-rc1

/cc @AndyAyersMS

Customer Impact

Testing

Risk

Author: github-actions[bot]
Assignees: -
Labels:

area-CodeGen-coreclr

Milestone: -

Copy link
Member

@jeffschwMSFT jeffschwMSFT left a comment

Choose a reason for hiding this comment

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

Approved. Please ensure to get a CR and we can take for consideration for RC1.

@AndyAyersMS
Copy link
Member

@kunalspathak ptal

Copy link
Member

@kunalspathak kunalspathak left a comment

Choose a reason for hiding this comment

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

LGTM

@jeffschwMSFT jeffschwMSFT merged commit 3d5987f into release/6.0-rc1 Aug 19, 2021
@akoeplinger akoeplinger deleted the backport/pr-57602-to-release/6.0-rc1 branch August 28, 2021 22:04
@ghost ghost locked as resolved and limited conversation to collaborators Sep 27, 2021
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.

3 participants