Skip to content

Conversation

@amanasifkhalid
Copy link
Contributor

OSR entry weights are frequently imbalanced, so we skip profile consistency checks for them. However, fgUpdateFlowGraph can propagate these weights to normal blocks, which are checked for profile consistency. If we think this happened, liberally mark the profile as inconsistent. Fixes #111343.

@ghost ghost added the area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI label Jan 13, 2025
@amanasifkhalid
Copy link
Contributor Author

/azp run runtime-coreclr libraries-pgo

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@amanasifkhalid
Copy link
Contributor Author

cc @dotnet/jit-contrib, @AndyAyersMS PTAL. No diffs (only affects debug assert behavior). Thanks!

@amanasifkhalid
Copy link
Contributor Author

libraries-pgo failures are #111345 and #111344.

@amanasifkhalid
Copy link
Contributor Author

/ba-g macOS arm64 tests are hanging

@amanasifkhalid amanasifkhalid merged commit 4ae1cf2 into dotnet:main Jan 13, 2025
106 of 116 checks passed
@amanasifkhalid amanasifkhalid deleted the fix-profile-consistency-flow-opts branch January 13, 2025 22:16
@github-actions github-actions bot locked and limited conversation to collaborators Feb 13, 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.

Assertion failed '!"Inconsistent profile data"'

2 participants