Skip to content

[release/10.0] JIT: handle commas during inline return value substitution - #119271

Merged
jeffschwMSFT merged 4 commits into
release/10.0from
backport/pr-119160-to-release/10.0
Sep 5, 2025
Merged

jeffschwMSFT merged 4 commits into
release/10.0from
backport/pr-119160-to-release/10.0

Conversation

@github-actions

@github-actions github-actions Bot commented Sep 2, 2025 •

Copy link
Copy Markdown
Contributor

Backport of #119160 to release/10.0

/cc @AndyAyersMS

Customer Impact

  • Customer reported
  • Found internally

Found via Fuzzlyn.

When we inline certain kinds of return values into a predicate context, we may fail to form proper JIT IR. Existing test does not fail in release, but the malformed IR may in other similar examples cause the JIT to crash or produce incorrect code.

Regression

  • Yes
  • No

Fails the same way with .NET 9; not sure about earlier.

Testing

Added the repro case as a test; no diffs elsewhere.

Risk

Low. Seems to be an uncommon pattern.

@AndyAyersMS

Copy link
Copy Markdown
Member

@dotnet/jit-contrib PTAL
cc @JulieLeeMSFT @jeffschwMSFT

@jeffschwMSFT jeffschwMSFT 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. we can merge when ready

@AndyAyersMS

Copy link
Copy Markdown
Member

@EgorBo PTAL

@AndyAyersMS

Copy link
Copy Markdown
Member

Build error is similar to #119249

@AndyAyersMS

Copy link
Copy Markdown
Member

/ba-g known error #119249

@jeffschwMSFT
jeffschwMSFT merged commit c5ffe27 into release/10.0 Sep 5, 2025
102 of 105 checks passed
@akoeplinger
akoeplinger deleted the backport/pr-119160-to-release/10.0 branch September 8, 2025 13:41
@github-actions github-actions Bot locked and limited conversation to collaborators Oct 9, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants