Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[release/9.0] JIT: Avoid removing CSE candidates in fgMorphExpandCast #106746

Merged
merged 3 commits into from
Aug 21, 2024

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Aug 21, 2024

Backport of #106691 to release/9.0

/cc @jakobbotsch

Customer Impact

  • Customer reported
  • Found internally

With certain code patterns (such as in the regression test added to the PR), the JIT will fail to perform a CSE it expects to be able to perform. This will lead to failure to compile the method with optimizations and rejitting it with MinOpts instead.

Regression

  • Yes
  • No

Testing

Added regression test.

Risk

Low. Skips an optimization causing the problem in the certain case where it can't be done.

@dotnet-issue-labeler dotnet-issue-labeler bot added the area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI label Aug 21, 2024
Copy link
Contributor

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

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

@lewing lewing added the Servicing-approved Approved for servicing release label Aug 21, 2024
@lewing
Copy link
Member

lewing commented Aug 21, 2024

/ba-g failures are tracked but this is a release branch

@jeffschwMSFT jeffschwMSFT merged commit 84e8aa4 into release/9.0 Aug 21, 2024
10 checks passed
@lewing lewing deleted the backport/pr-106691-to-release/9.0 branch August 21, 2024 19:10
@github-actions github-actions bot locked and limited conversation to collaborators Sep 21, 2024
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