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

SPMI: adjust near differ offset compare logic #48245

Merged
merged 1 commit into from
Feb 14, 2021

Conversation

AndyAyersMS
Copy link
Member

Add a clause that maps result1 and result2 offsets to a common base and
then compares that result.

This fixes some noisy diffs from instrumented Tier0 compiles, where the
probe addresses can vary from run to run.

Add a clause that maps result1 and result2 offsets to a common base and
then compares that result.

This fixes some noisy diffs from instrumented Tier0 compiles, where the
probe addresses can vary from run to run.
@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 Feb 12, 2021
@AndyAyersMS
Copy link
Member Author

@BruceForstall PTAL
cc @dotnet/jit-contrib

Would be nice to run this on some "known" diff cases to make sure it's not suppressing true diffs. Any ideas?

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.

LGTM

@BruceForstall
Copy link
Member

Would be nice to run this on some "known" diff cases to make sure it's not suppressing true diffs. Any ideas?

You could induce diffs by, e.g., turning off a phase for one JIT. But you'll have to figure out how to induce just the right kind of diff for this to hit or not hit.

@AndyAyersMS AndyAyersMS mentioned this pull request Feb 12, 2021
54 tasks
@AndyAyersMS AndyAyersMS merged commit 7e681c1 into dotnet:master Feb 14, 2021
@AndyAyersMS AndyAyersMS deleted the SpmiAdjustNearDifferLogic branch February 14, 2021 17:45
@ghost ghost locked as resolved and limited conversation to collaborators Mar 16, 2021
@AndyAyersMS AndyAyersMS restored the SpmiAdjustNearDifferLogic branch October 11, 2024 21:23
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