Skip to content

JIT: Don't use checked bounds in assertprop#113638

Merged
EgorBo merged 1 commit into
dotnet:mainfrom
EgorBo:disable-checked-bounds
Mar 18, 2025
Merged

JIT: Don't use checked bounds in assertprop#113638
EgorBo merged 1 commit into
dotnet:mainfrom
EgorBo:disable-checked-bounds

Conversation

@EgorBo

@EgorBo EgorBo commented Mar 18, 2025

Copy link
Copy Markdown
Member

Fixes #113049
Fixes #113052

@ghost ghost added the area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI label Mar 18, 2025
@EgorBo

EgorBo commented Mar 18, 2025

Copy link
Copy Markdown
Member Author

/azp run runtime-coreclr jitstress-random, runtime-coreclr libraries-jitstress-random

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 2 pipeline(s).

@IDisposable IDisposable left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@EgorBo EgorBo requested a review from jakobbotsch March 18, 2025 16:21
@EgorBo EgorBo marked this pull request as ready for review March 18, 2025 16:21
@EgorBo

EgorBo commented Mar 18, 2025

Copy link
Copy Markdown
Member Author

PTAL @jakobbotsch @dotnet/jit-contrib

We (Jakob) believe the current logic in MergeAssertion may not be correct (see #110315 (comment)) but it's probably not an issue when it's used only by RangeCheck phase because it relies on other things (SSA-based GetRangeCheck, DoesOverflow). But it is a real issue when we use this logic for actual foldings in global assert prop

Diffs - regressions, but a lot smaller than the initial size wins when we started to use this logic for actual foldings recently.

@EgorBo EgorBo merged commit 728df8c into dotnet:main Mar 18, 2025
@EgorBo EgorBo deleted the disable-checked-bounds branch March 18, 2025 16:35
@EgorBo

EgorBo commented Mar 18, 2025

Copy link
Copy Markdown
Member Author

/backport to release/10.0-preview3

@github-actions

Copy link
Copy Markdown
Contributor

Started backporting to release/10.0-preview3: https://github.com/dotnet/runtime/actions/runs/13928629482

@github-actions github-actions Bot locked and limited conversation to collaborators Apr 18, 2025
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

Projects

None yet

3 participants