Skip to content

[release/6.0] Remove benign assert - #59044

Merged
jeffschwMSFT merged 2 commits into
release/6.0from
backport/pr-58980-to-release/6.0
Sep 14, 2021
Merged

[release/6.0] Remove benign assert#59044
jeffschwMSFT merged 2 commits into
release/6.0from
backport/pr-58980-to-release/6.0

Conversation

@github-actions

@github-actionsgithub-actionsBot commented Sep 13, 2021

Copy link
Copy Markdown
Contributor

Backport of #58980 to release/6.0

/cc @jakobbotsch

Customer Impact

In #58589 I added an overly eager assert that also got backported in #58951. To avoid hitting this assert in the 6.0 branch in case we need to investigate a problem, I'm also backporting the removal of this assert.

Testing

There is a new test that uses this code path hitting the assert.

Risk

None, this is removing debug-only code.

It is perfectly possible for us to replace a promoted struct by its only
field where that field is marked do-not-enregister. Since this path does
handle the proper retyping when normalization is required this assertion
is benign.
Fix#58972
@ghostghost added the area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI label Sep 13, 2021
@ghost

Copy link
Copy Markdown

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

Issue Details

Backport of #58980 to release/6.0

/cc @jakobbotsch

Customer Impact

Testing

Risk

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

area-CodeGen-coreclr

Milestone:-

@JulieLeeMSFT

Copy link
Copy Markdown
Member

CC @dotnet/jit-contrib @kunalspathak Please review it ASAP before RC2 snap.

@Anipik

Copy link
Copy Markdown
Contributor

cc @jeffschwMSFT

@jeffschwMSFTjeffschwMSFT left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Approved. Let's wait for a green ci.

@jeffschwMSFT

Copy link
Copy Markdown
Member

I feel this is opportunistic. If we make the RC2 snap, let's take it.

@jeffschwMSFT
jeffschwMSFT merged commit b3a9b0b into release/6.0Sep 14, 2021
@jkotas
jkotas deleted the backport/pr-58980-to-release/6.0 branch September 18, 2021 04:09
@ghostghost locked as resolved and limited conversation to collaborators Nov 3, 2021
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-CodeGen-coreclrCLR 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.

5 participants

@JulieLeeMSFT@Anipik@jeffschwMSFT@kunalspathak@jakobbotsch