Skip to content

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Sep 17, 2025

Backport of #119806 to release/10.0

/cc @jakobbotsch

Customer Impact

  • Customer reported
  • Found internally

The JIT is missing a safety check for whether indirect calls can be optimized to perform the indirection as part of the call instruction on x64.

Regression

  • Yes
  • No

New IR produced by runtime async exposes calls that causes the backend to trip over this.

Testing

Verified manually on a specific function in our own libraries tests that hit the case. Test case not introduced since existing tests already cover it when runtime async is enabled.

Risk

Low. The safety check comes with no diffs over our SPMI collections and should in the worst case just result in a load performed slightly earlier.

@jakobbotsch jakobbotsch requested a review from a team September 17, 2025 15:53
@jakobbotsch
Copy link
Member

/ba-g All issues are known, but build-analysis is not switching to green

@JulieLeeMSFT JulieLeeMSFT added the Servicing-approved Approved for servicing release label Sep 19, 2025
@JulieLeeMSFT JulieLeeMSFT added this to the 10.0.0 milestone Sep 19, 2025
@JulieLeeMSFT JulieLeeMSFT added the area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI label Sep 19, 2025
@JulieLeeMSFT
Copy link
Member

/ba-g All issues are known, but build-analysis is not switching to green

Build analysis doesn’t turn green on release branch.

Copy link
Contributor

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

@JulieLeeMSFT
Copy link
Member

CC @jeffschwMSFT.

@agocke agocke merged commit 734fa7b into release/10.0 Sep 22, 2025
99 of 103 checks passed
@agocke agocke deleted the backport/pr-119806-to-release/10.0 branch September 22, 2025 23:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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