Skip to content

JIT: don't allow negative edge weights #52884

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

Merged
merged 1 commit into from
May 18, 2021

Conversation

AndyAyersMS
Copy link
Member

@AndyAyersMS AndyAyersMS commented May 18, 2021

If the solver wants to set the edge weight below zero, set it to
zero if within slop, or disallow if not.

Addresses assert seen in #52864 #52785.

If the sovler wants to set the edge weight below zero, set it to
zero if within slop, or disallow if not.

Addresses assert seen in dotnet#52864.
@ghost ghost added the area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI label May 18, 2021
@AndyAyersMS
Copy link
Member Author

cc @dotnet/jit-contrib @trylek

I will add more assertion/post-phase checking for edge weights in a follow-up PR.

@AndyAyersMS
Copy link
Member Author

Failures were from #49585, which was reverted at #52885.

@AndyAyersMS AndyAyersMS reopened this May 18, 2021
@EgorBo
Copy link
Member

EgorBo commented May 18, 2021

Addresses assert seen in #52864.

um.. isn't it supposed to be #52785 ?

@AndyAyersMS
Copy link
Member Author

um.. isn't it supposed to be #52785 ?

Indeed. Thanks.

@AndyAyersMS AndyAyersMS merged commit b1c0fb0 into dotnet:main May 18, 2021
@AndyAyersMS AndyAyersMS deleted the NoNegativeEdgeWeights branch May 18, 2021 18:09
@karelz karelz added this to the 6.0.0 milestone May 20, 2021
@ghost ghost locked as resolved and limited conversation to collaborators Jun 19, 2021
@AndyAyersMS AndyAyersMS restored the NoNegativeEdgeWeights branch October 11, 2024 21:23
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.

4 participants