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/7.0] Ensure NI_Vector128_AsVector128 (aka Vector128<T> AsVector128(this Vector<T> value)) doesn't have a side-effect in its assert #76547

Merged
merged 2 commits into from
Oct 4, 2022

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Oct 3, 2022

Backport of #76460 to release/7.0

/cc @tannergooding

Customer Impact

Users get silent "bad" codegen and incorrect disassembly displayed in the new DOTNET_JitDisasm=... feature.

The impact of this silent bad codegen is believed to be minimal as while technically incorrect, the way a user consumes such values should normally not cause issue since they are only consuming the lower 16-bits. However, there may be unseen/unknown issues related to CSE or VN where this does lead to real failures but with no known repro at this time.

Testing

Additional testing validating the codegen were added.

Risk

Low. This path is already well tested from Debug/Checked builds and was the existing behavior in .NET 5 and prior. The relevant code was accidentally merged into an assert resulting in it being "gone" in Release builds sometime before .NET 6.

@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 Oct 3, 2022
@ghost
Copy link

ghost commented Oct 3, 2022

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

Issue Details

Backport of #76460 to release/7.0

/cc @tannergooding

Customer Impact

Testing

Risk

IMPORTANT: Is this backport for a servicing release? If so and this change touches code that ships in a NuGet package, please make certain that you have added any necessary package authoring and gotten it explicitly reviewed.

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

area-CodeGen-coreclr

Milestone: -

@tannergooding tannergooding added the Servicing-consider Issue for next servicing release review label Oct 3, 2022
@tannergooding tannergooding added this to the 7.0.0 milestone Oct 3, 2022
@carlossanlop
Copy link
Member

@tannergooding please send an email to Tactics requesting approval.
@BruceForstall and/or @dakersnar: please provide a code review sign-off.

@JulieLeeMSFT
Copy link
Member

@tannergooding, please check the test failures.

@JulieLeeMSFT
Copy link
Member

Does this PR fix Arm64 failures that @BruceForstall mentioned in #76347? Or do we need to look into those further in addition to this fix?

@BruceForstall
Copy link
Member

Does this PR fix Arm64 failures that @BruceForstall mentioned in #76347? Or do we need to look into those further in addition to this fix?

It fixes some of the failures, but not all of them.

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. we will take for consideration in 7 ga.

@rbhanda rbhanda added Servicing-approved Approved for servicing release and removed Servicing-consider Issue for next servicing release review labels Oct 4, 2022
@carlossanlop
Copy link
Member

Approved, signed off, CI green. Ready :shipit:

@carlossanlop carlossanlop merged commit 077d0c7 into release/7.0 Oct 4, 2022
@carlossanlop carlossanlop deleted the backport/pr-76460-to-release/7.0 branch October 4, 2022 19:56
@ghost ghost locked as resolved and limited conversation to collaborators Nov 4, 2022
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 Servicing-approved Approved for servicing release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants