Skip to content

Conversation

github-actions[bot]
Copy link
Contributor

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

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
Member

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

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

@AndyAyersMS
Copy link
Member

@EgorBo PTAL

@AndyAyersMS
Copy link
Member

Build error is similar to #119249

@AndyAyersMS
Copy link
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