Skip to content

Remove benign assert - #58980

Merged
jakobbotsch merged 2 commits into
dotnet:mainfrom
jakobbotsch:fix-58972
Sep 13, 2021
Merged

Remove benign assert#58980
jakobbotsch merged 2 commits into
dotnet:mainfrom
jakobbotsch:fix-58972

Conversation

@jakobbotsch

Copy link
Copy Markdown
Member

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

cc @dotnet/jit-contrib @jkotas

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.
Fixdotnet#58972
@ghostghost added the area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI label Sep 11, 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

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

cc @dotnet/jit-contrib @jkotas

Author:jakobbotsch
Assignees:-
Labels:

area-CodeGen-coreclr

Milestone:-

@kunalspathakkunalspathak left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@jakobbotsch
jakobbotsch merged commit 369eb44 into dotnet:mainSep 13, 2021
@jakobbotsch
jakobbotsch deleted the fix-58972 branch September 13, 2021 17:15
@jakobbotsch

Copy link
Copy Markdown
MemberAuthor

/backport to release/6.0

@github-actions

Copy link
Copy Markdown
Contributor

Started backporting to release/6.0: https://github.com/dotnet/runtime/actions/runs/1230532460

@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.

Assertion failed '!replacedInLowering'

3 participants

@jakobbotsch@EgorBo@kunalspathak