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] Fix fgValueNumberArrIndexVal for wide reads #58427

Merged
merged 4 commits into from
Aug 31, 2021

Conversation

github-actions[bot]
Copy link
Contributor

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

Backport of #58309 to release/6.0

/cc @EgorBo

Customer Impact

In some very specific patterns where we read values from managed arrays using Unsafe.ReadUnaligned (e.g. when we read a long from an array of integers at once) we might get invalid values, see the test this PR adds.

Testing

The fix contains a test.

Risk

Low, it affects only very specific patterns with Unsafe.

@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 31, 2021
@ghost
Copy link

ghost commented Aug 31, 2021

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

Issue Details

Backport of #58309 to release/6.0

/cc @EgorBo

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 get a code review and then we can merge.

@EgorBo
Copy link
Member

EgorBo commented Aug 31, 2021

cc @dotnet/jit-contrib @sandreenko @briansull

@jeffschwMSFT jeffschwMSFT added this to the 6.0.0 milestone Aug 31, 2021
@jeffschwMSFT jeffschwMSFT merged commit 1e96637 into release/6.0 Aug 31, 2021
@akoeplinger akoeplinger deleted the backport/pr-58309-to-release/6.0 branch September 9, 2021 11:25
@ghost ghost locked as resolved and limited conversation to collaborators Oct 9, 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