Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

JIT: Allow BBJ_COND false target to diverge from bbNext in layout optimization phase#96609

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged

Conversation

@amanasifkhalid
Copy link
Contributor

Next step for#93020. Working backwards through the JIT flowgraph phases, this change allowsbbFalseTarget to diverge frombbNext inCompiler::optOptimizeLayout and onwards. This requires some awkward quirking (most of which should be short-lived, while some quirks may stay until we change our block reordering approach), asfgReorderBlocks andfgUpdateFlowGraphPhase are also called in a few earlier phases.

@ghostghost added the area-CodeGen-coreclrCLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI labelJan 8, 2024
@ghost
Copy link

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

Issue Details

Next step for#93020. Working backwards through the JIT flowgraph phases, this change allowsbbFalseTarget to diverge frombbNext inCompiler::optOptimizeLayout and onwards. This requires some awkward quirking (most of which should be short-lived, while some quirks may stay until we change our block reordering approach), asfgReorderBlocks andfgUpdateFlowGraphPhase are also called in a few earlier phases.

Author:amanasifkhalid
Assignees:amanasifkhalid
Labels:

area-CodeGen-coreclr

Milestone:-

@amanasifkhalid
Copy link
ContributorAuthor

/azp run runtime-coreclr jitstress

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@amanasifkhalid
Copy link
ContributorAuthor

/azp run runtime-coreclr jitstress

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@amanasifkhalid
Copy link
ContributorAuthor

/azp run runtime-coreclr jitstress

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@amanasifkhalid
Copy link
ContributorAuthor

/azp run runtime-coreclr jitstress

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Copy link
Member

@AndyAyersMSAndyAyersMS left a comment

Choose a reason for hiding this comment

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

Looks like TP is now a non-issue... glad it worked out that way.

amanasifkhalid reacted with rocket emoji
@amanasifkhalidamanasifkhalid merged commit5598dac intodotnet:mainJan 17, 2024
@amanasifkhalidamanasifkhalid deleted the connect-fallthrough branchJanuary 17, 2024 20:02
tmds pushed a commit to tmds/runtime that referenced this pull requestJan 23, 2024
…imization phase (dotnet#96609)Next step fordotnet#93020. Working backwards through the JIT flowgraph phases, this change allows bbFalseTarget to diverge from bbNext in Compiler::optOptimizeLayout and onwards.
This was referencedJan 23, 2024
amanasifkhalid added a commit to amanasifkhalid/runtime that referenced this pull requestJan 23, 2024
amanasifkhalid added a commit that referenced this pull requestJan 23, 2024
amanasifkhalid added a commit that referenced this pull requestJan 29, 2024
Part of#93020. This change adds back in most of#97191 and#96609, except for any significant changes to the flowgraph optimization passes to reduce churn. With this change, the false target of a BBJ_COND can diverge from the next block until Compiler::optOptimizeLayout, in which we reestablish implicit fall-through with fgConnectFallThrough to preserve the existing block reordering behavior. Note that the deferral of these fall-through fixups causes diffs in the edge weights, which can alter the behavior of fgReorderBlocks, hence some of the size regressions
@github-actionsgithub-actionsbot locked and limited conversation to collaboratorsFeb 17, 2024
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.

Reviewers

@AndyAyersMSAndyAyersMSAndyAyersMS approved these changes

Assignees

@amanasifkhalidamanasifkhalid

Labels

area-CodeGen-coreclrCLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@amanasifkhalid@jakobbotsch@AndyAyersMS

[8]ページ先頭

©2009-2025 Movatter.jp