Skip to content

Conversation

@amanasifkhalid
Copy link
Contributor

I noticed this while looking at the diffs for #107175. I also removed the compaction logic since it had zero diffs: fgExpandRarelyRunBlocks is only called by fgReorderBlocks, which is always preceded by a pass of fgUpdateFlowGraph.

@ghost ghost added the area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI label Sep 4, 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.

@amanasifkhalid
Copy link
Contributor Author

cc @dotnet/jit-contrib, @AndyAyersMS PTAL. Diffs show some flowgraph churn, with misleadingly-large PerfScore regressions since we're no longer incorrectly marking BBJ_COND blocks with hot false targets as rarely-run. It's hard to evaluate the diffs just by looking at them, but I suspect this change should lead to more informed layout decisions.

@amanasifkhalid amanasifkhalid merged commit 0961328 into dotnet:main Sep 5, 2024
@amanasifkhalid amanasifkhalid deleted the expand-rarely-run-fallthrough branch September 5, 2024 14:19
jtschuster pushed a commit to jtschuster/runtime that referenced this pull request Sep 17, 2024
sirntar pushed a commit to sirntar/runtime that referenced this pull request Sep 30, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Oct 6, 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