Skip to content

Conversation

@EgorBo
Copy link
Member

@EgorBo EgorBo commented Apr 10, 2025

Fixes #114212

Copilot AI review requested due to automatic review settings April 10, 2025 13:10
@ghost ghost added the area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI label Apr 10, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

@dotnet-policy-service
Copy link
Contributor

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

@EgorBo
Copy link
Member Author

EgorBo commented Apr 10, 2025

/azp run runtime-coreclr libraries-jitstress

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@EgorBo
Copy link
Member Author

EgorBo commented Apr 11, 2025

/azp run runtime-coreclr libraries-jitstress

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@EgorBo
Copy link
Member Author

EgorBo commented Apr 11, 2025

PTAL @AndyAyersMS @jakobbotsch @dotnet/jit-contrib fixes a jitstress issue.

Basically, for switch's default case we used to create a slightly invalid assertion (O1K_CONSTANT_LOOP_BND or O1K_CONSTANT_LOOP_BND_UN).

Now the algorithm is:

We try to create O1K_CONSTANT_LOOP_BND (which is X signed_relop CNS) if opVN (switch'a op) and value (largest const value we test for, >0) are known to be never negative, and create O1K_CONSTANT_LOOP_BND_UN if know nothing about opVN's range.

A few small diffs . Looks like Format JIT jobs are broken

@EgorBo EgorBo merged commit e9d9995 into dotnet:main Apr 14, 2025
111 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators May 15, 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

Development

Successfully merging this pull request may close these issues.

JIT: Assertion failed IsVNConstantBound(vn) || IsVNConstantBoundUnsigned(vn) during 'Assertion prop'

2 participants