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

optimizer: simplify inlining algorithm #47207

Merged
merged 1 commit into from
Oct 18, 2022
Merged

Conversation

aviatesk
Copy link
Member

@aviatesk aviatesk commented Oct 18, 2022

The main purpose of this commit is to try to simplify our inlining
algorithm by removing the delayed callee resolving mechanism (i.e.
DelayedInliningSpec stuff), since that kind of mechanism currently
has no users and we provide more fine grained control with
inlining_policy now.

This commit also adds some more cleanups, changing argument ordering of
some subroutines so that they are aligned with the other ones, and
removing dead subroutines.

@nanosoldier
Copy link
Collaborator

Your benchmark job has completed - possible performance regressions were detected. A full report can be found here.

@aviatesk aviatesk changed the title wip: optimizer: simplify the inlining algorithm optimizer: simplify the inlining algorithm Oct 18, 2022
@aviatesk aviatesk force-pushed the avi/simplify-inlining branch 2 times, most recently from 787c127 to 481d121 Compare October 18, 2022 08:54
@aviatesk
Copy link
Member Author

@nanosoldier runbenchmarks("inference", vs=":master")

@aviatesk aviatesk added the compiler:optimizer Optimization passes (mostly in base/compiler/ssair/) label Oct 18, 2022
@nanosoldier
Copy link
Collaborator

Your benchmark job has completed - possible performance regressions were detected. A full report can be found here.

@aviatesk
Copy link
Member Author

aviatesk commented Oct 18, 2022

Okay, better performance. This should be ready.

@aviatesk
Copy link
Member Author

@nanosoldier runbenchmarks("inference", vs=":master")

@nanosoldier
Copy link
Collaborator

Your benchmark job has completed - possible performance regressions were detected. A full report can be found here.

@aviatesk aviatesk changed the title optimizer: simplify the inlining algorithm optimizer: simplify inlining algorithm Oct 18, 2022
The main purpose of this commit is to try to simplify our inlining
algorithm by removing the delayed callee resolving mechanism (i.e.
`DelayedInliningSpec` stuff), since that kind of mechanism currently
has no users and we provide more fine grained control with
`inlining_policy` now.

This commit also adds some more cleanups, changing argument ordering of
some subroutines so that they are aligned with the other ones, and
removing dead subroutines.
@aviatesk aviatesk force-pushed the avi/simplify-inlining branch from 481d121 to 74de264 Compare October 18, 2022 11:47
@aviatesk
Copy link
Member Author

@nanosoldier runbenchmarks("inference", vs=":master")

@nanosoldier
Copy link
Collaborator

Your benchmark job has completed - no performance regressions were detected. A full report can be found here.

@aviatesk aviatesk merged commit 8181316 into master Oct 18, 2022
@aviatesk aviatesk deleted the avi/simplify-inlining branch October 18, 2022 23:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compiler:optimizer Optimization passes (mostly in base/compiler/ssair/)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants