Skip to content

Conversation

@BruceForstall
Copy link
Contributor

In stress scenarios with inconsistent weights, it was possible
to change the condition weight from zero to non-zero without
resetting the "rarely run" bit. Use inheritWeight() to set
the weight, which handles this case.

Fixes #74218

In stress scenarios with inconsistent weights, it was possible
to change the condition weight from zero to non-zero without
resetting the "rarely run" bit. Use `inheritWeight()` to set
the weight, which handles this case.

Fixes dotnet#74218
@ghost ghost added the area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI label Aug 23, 2022
@ghost ghost assigned BruceForstall Aug 23, 2022
@BruceForstall
Copy link
Contributor Author

@AndyAyersMS @dotnet/jit-contrib PTAL

@ghost
Copy link

ghost commented Aug 23, 2022

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

Issue Details

In stress scenarios with inconsistent weights, it was possible
to change the condition weight from zero to non-zero without
resetting the "rarely run" bit. Use inheritWeight() to set
the weight, which handles this case.

Fixes #74218

Author: BruceForstall
Assignees: -
Labels:

area-CodeGen-coreclr

Milestone: -

@BruceForstall BruceForstall merged commit 789aca1 into dotnet:main Aug 23, 2022
@BruceForstall BruceForstall deleted the FixInvertLoopsWeightSetting branch August 23, 2022 23:36
@ghost ghost locked as resolved and limited conversation to collaborators Sep 23, 2022
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

2 participants