Repository navigation
[release/11.0] Preserve ARM64 flags dependencies during indirection reordering - #136083
Merged
JulieLeeMSFT merged 2 commits intoOct 19, 2026
Merged
Conversation
…eordering Backport of dotnet#135575 to release/11.0. Adapt the regression test to the branch's existing merged runner. (cherry picked from commit 929e677) Co-authored-by: Copilot <[email protected]> Copilot-Session: 293a4931-e666-4c2c-bf85-571092949275
|
Azure Pipelines: Successfully started running 3 pipeline(s). 13 pipeline(s) were filtered out due to trigger conditions. There may be pipelines that require an authorized user to comment /azp run to run. |
Contributor
|
Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch |
Member
Author
|
PTAL @JulieLeeMSFT (since you approved the original PR) @dotnet/jit-contrib |
JulieLeeMSFT
approved these changes
Oct 19, 2026
Member
|
/ba-g known issue. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes Issue #135521
main PR #135575
Description
Backport of #135575 to release/11.0. Preserve implicit flags dependencies when reordering ARM64 stores and post-indexed addressing. The regression test is adapted to the release branch's existing merged runner.
Customer Impact
ARM64 code can compute incorrect signed remainder results after an allocation. For example,
k % 2can return-1for a non-negative odd value.Regression
Not introduced in .NET 11. Wrong results are reported on .NET 10; the underlying instruction-ordering bug is also present in .NET 9.
Testing
Test is added.
Risk
Low. Only prevents reordering across implicit flags dependencies.