Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JIT: Fix checked/release diff #70144

Merged
merged 1 commit into from
Jun 2, 2022
Merged

Conversation

jakobbotsch
Copy link
Member

Fix #70143 introduced by #68869

@dotnet-issue-labeler dotnet-issue-labeler bot added the area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI label Jun 2, 2022
@ghost ghost assigned jakobbotsch Jun 2, 2022
@ghost
Copy link

ghost commented Jun 2, 2022

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

Issue Details

Fix #70143 introduced by #68869

Author: jakobbotsch
Assignees: -
Labels:

area-CodeGen-coreclr

Milestone: -

@jakobbotsch
Copy link
Member Author

cc @dotnet/jit-contrib PTAL @kunalspathak

What would the effect of this be in release builds?

@kunalspathak
Copy link
Member

Thanks for figuring it out. This would have almost might have made every possible loop's size calculated wrong (it will go all the way to end of the method) and leading to most of the loops being not aligned because of heuristic not met. This would also explain the regression in #69444.

Does this fix completely remove the checked vs. release diffs?

Copy link
Member

@kunalspathak kunalspathak left a comment

Choose a reason for hiding this comment

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

LGTM

@jakobbotsch
Copy link
Member Author

Does this fix completely remove the checked vs. release diffs?

It does for win-x64 at least.

@kunalspathak
Copy link
Member

/azp run runtime-coreclr superpmi-asmdiffs-checked-release

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@kunalspathak
Copy link
Member

It does for win-x64 at least.

This was the culprit for other platforms as well.

Copy link
Member

@BruceForstall BruceForstall left a comment

Choose a reason for hiding this comment

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

Thanks for the quick fix!

@AndyAyersMS
Copy link
Member

Possible regression: dotnet/perf-autofiling-issues#5825

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.

JIT: checked/release diffs
4 participants