Skip to content

[release/6.0] Fix fgValueNumberArrIndexVal for wide reads - #58427

Merged
jeffschwMSFT merged 4 commits into
release/6.0from
backport/pr-58309-to-release/6.0
Aug 31, 2021
Merged

[release/6.0] Fix fgValueNumberArrIndexVal for wide reads#58427
jeffschwMSFT merged 4 commits into
release/6.0from
backport/pr-58309-to-release/6.0

Conversation

@github-actions

@github-actionsgithub-actionsBot commented Aug 31, 2021

Copy link
Copy Markdown
Contributor

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.

@ghostghost 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
Copy Markdown

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:-

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

@EgorBo

Copy link
Copy Markdown
Member

cc @dotnet/jit-contrib @sandreenko@briansull

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

3 participants

@EgorBo@jeffschwMSFT@AndyAyersMS