Skip to content

JIT: Recognize null checks established by CSE definitions - #137262

Closed
NinoFloris wants to merge 1 commit into
dotnet:mainfrom
NinoFloris:jit/cse-def-null-checks
Closed

NinoFloris wants to merge 1 commit into
dotnet:mainfrom
NinoFloris:jit/cse-def-null-checks

Conversation

@NinoFloris

Copy link
Copy Markdown
Contributor

When definitions and uses have different exception sets, account for the null check performed by each defining load even if an earlier phase removed that item from its VN. Keep unrelated exceptions subject to the ordinary CSE availability checks.

@NinoFloris NinoFloris changed the title Recognize null checks established by CSE definitions JIT: Recognize null checks established by CSE definitions Nov 10, 2026
@github-actions github-actions Bot added the area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI label Nov 10, 2026
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 5 pipeline(s).
10 pipeline(s) were filtered out due to trigger conditions.
There may be pipelines that require an authorized user to comment /azp run to run.

@dotnet-policy-service dotnet-policy-service Bot added the community-contribution Indicates that the PR has been added by a community member label Nov 10, 2026
@dotnet-policy-service

Copy link
Copy Markdown
Contributor

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

When definitions and uses have different exception sets, account for the null check performed by each defining load even if an earlier phase removed that item from its VN. Keep unrelated exceptions subject to the ordinary CSE availability checks.
@NinoFloris
NinoFloris force-pushed the jit/cse-def-null-checks branch from 5be8183 to 07ac913 Compare November 11, 2026 13:56
@NinoFloris
NinoFloris marked this pull request as ready for review November 11, 2026 14:16
@NinoFloris NinoFloris closed this Nov 12, 2026
@NinoFloris
NinoFloris deleted the jit/cse-def-null-checks branch November 12, 2026 21:30
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 community-contribution Indicates that the PR has been added by a community member

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant