Skip to content

Conversation

@github-actions
Copy link
Contributor

@github-actions github-actions bot commented Aug 25, 2025

Backport of #118953 to release/10.0

/cc @jakobbotsch

Customer Impact

  • Customer reported
  • Found internally

The JIT inconsistently marks some locals as not being register candidates on arm32 which leads to unpredictable results. The new runtime async transformation produces IR that the backend does not expect to see because of the inconsistency.

Regression

  • Yes
  • No

Testing

Issue found and testing done via fuzzing.

Risk

Low.

`lvaGetPromotionType` always returns dependent promotion for this case,
but `lvDoNotEnregister` was not consistently set. With this PR we
instead consistently just set `lvDoNotEnregister` for these parameters.
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. we can merge when ready

@jeffschwMSFT jeffschwMSFT added the Servicing-approved Approved for servicing release label Aug 26, 2025
@dotnet-policy-service
Copy link
Contributor

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

@jeffschwMSFT jeffschwMSFT added this to the 10.0.0 milestone Aug 26, 2025
@jakobbotsch jakobbotsch requested a review from a team August 27, 2025 11:17
@jeffschwMSFT
Copy link
Member

@jakobbotsch can you take a look at the failing ci?

@jakobbotsch
Copy link
Member

The failures are #116014 (I don't know why build analysis is blocking, all the failures are known.)

@jakobbotsch
Copy link
Member

/ba-g Failures are known

@jeffschwMSFT jeffschwMSFT merged commit 77154d0 into release/10.0 Aug 28, 2025
100 of 105 checks passed
@jakobbotsch jakobbotsch deleted the backport/pr-118953-to-release/10.0 branch August 28, 2025 15:07
@github-actions github-actions bot locked and limited conversation to collaborators Sep 28, 2025
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.

4 participants