-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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 reporting of tier name metadata #110610
Conversation
The tier name was reported for both the root and the inlinees. On the SPMI side this would result in using the last tier name reported, which usually would be from an inlinee. The inlinee tier does not always match the root tier, for example when OSR is enabled.
Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch |
fw.PrintQuotedCsvField(diffRes.CompileResults->MethodFullName == nullptr ? "" : diffRes.CompileResults->MethodFullName); | ||
fw.Printf( | ||
",%s,%s,%s,%s,%s,%lld,%lld", | ||
baseRes.CompileResults->TieringName == nullptr ? "" : baseRes.CompileResults->TieringName, | ||
diffRes.CompileResults->TieringName == nullptr ? "" : diffRes.CompileResults->TieringName, | ||
ResultToString(baseRes.Result), ResultToString(diffRes.Result), | ||
baseRes.IsMinOpts ? "True" : "False", | ||
diffRes.IsMinOpts ? "True" : "False", | ||
hasDiff ? "True" : "False", | ||
baseRes.NumExecutedInstructions, diffRes.NumExecutedInstructions); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Somewhat unrelated change, but I was a bit confused for a while when my change did not have any effect on my asmdiffs details. Turned out to be because the base JIT continued to contain the bug.
/azp run runtime-coreclr superpmi-replay, runtime-coreclr superpmi-diffs |
Azure Pipelines successfully started running 2 pipeline(s). |
PTAL @dotnet/jit-contrib |
The tier name was reported for both the root and the inlinees. On the SPMI side this would result in using the last tier name reported, which usually would be from an inlinee. The inlinee tier does not always match the root tier, for example when OSR is enabled.
The tier name was reported for both the root and the inlinees. On the SPMI side this would result in using the last tier name reported, which usually would be from an inlinee. The inlinee tier does not always match the root tier, for example when OSR is enabled.