Skip to content

Conversation

@AndyAyersMS
Copy link
Member

In rare cases profile stress will put weight on unreachable preds of loop blocks, throwing off the cyclic probability computations.

Fix by ignoring such preds.

In rare cases profile stress will put weight on unreachable preds of
loop blocks, throwing off the cyclic probability computations.

Fix by ignoring such preds.
@ghost ghost added the area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI label Apr 18, 2024
@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.

@AndyAyersMS
Copy link
Member Author

@amanasifkhalid PTAL
cc @dotnet/jit-contrib

No diffs expected; will run stress.

@amanasifkhalid amanasifkhalid self-requested a review April 18, 2024 20:03
Copy link
Contributor

@amanasifkhalid amanasifkhalid left a comment

Choose a reason for hiding this comment

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

LGTM assuming stress modes pass -- thanks for seeing this through!

@AndyAyersMS
Copy link
Member Author

/azp run runtime-coreclr libraries-pgo, runtime-coreclr jitstress, runtime-coreclr pgostress, runtime-coreclr pgo

@azure-pipelines
Copy link

Azure Pipelines successfully started running 4 pipeline(s).

@AndyAyersMS
Copy link
Member Author

/azp run runtime-coreclr libraries-jitstress

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@AndyAyersMS
Copy link
Member Author

SPMI replay failure is #101070.

@AndyAyersMS AndyAyersMS merged commit a344abd into dotnet:main Apr 18, 2024
matouskozak pushed a commit to matouskozak/runtime that referenced this pull request Apr 30, 2024
In rare cases profile stress will put weight on unreachable preds of
loop blocks, throwing off the cyclic probability computations.

Fix by ignoring such preds.
@github-actions github-actions bot locked and limited conversation to collaborators May 19, 2024
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.

2 participants