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

Early out in impMarkInlineCandidate for minopts #86949

Merged
merged 2 commits into from
May 31, 2023
Merged

Conversation

EgorBo
Copy link
Member

@EgorBo EgorBo commented May 31, 2023

Mitigates 0.2% MinOpts TP regression from #86551

@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 May 31, 2023
@ghost ghost assigned EgorBo May 31, 2023
@ghost
Copy link

ghost commented May 31, 2023

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

Issue Details

Mitigates 0.2% MinOpts TP regression from #86551

Author: EgorBo
Assignees: EgorBo
Labels:

area-CodeGen-coreclr

Milestone: -

@EgorBo
Copy link
Member Author

EgorBo commented May 31, 2023

Diffs PTAL @jakobbotsch @dotnet/jit-contrib

It not only mitigates, but also improves on top.

@@ -6204,6 +6204,18 @@ void Compiler::impMarkInlineCandidate(GenTree* callNode,
CORINFO_CALL_INFO* callInfo,
IL_OFFSET ilOffset)
{
if (!opts.OptEnabled(CLFLG_INLINING))
{
/* XXX Mon 8/18/2008
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we need the date in the comment here?

Copy link
Member Author

Choose a reason for hiding this comment

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

I don't think so, but I only moved an existing code a bit up, didn't change it

@EgorBo EgorBo merged commit e09e486 into dotnet:main May 31, 2023
127 checks passed
@EgorBo EgorBo deleted the minopts-tp branch May 31, 2023 14:35
@ghost ghost locked as resolved and limited conversation to collaborators Jun 30, 2023
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.

None yet

3 participants