Skip to content

[4.2] Cherry-pick dropping @inlinable and other cleanup #16593

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

Closed
wants to merge 4 commits into from

Conversation

milseman
Copy link
Member

This is a cherry-pick of #16578 and #16477

@milseman
Copy link
Member Author

@swift-ci please test

@milseman milseman requested review from eeckstein and lorentey May 14, 2018 17:58
@milseman
Copy link
Member Author

@swift-ci please benchmark

@milseman
Copy link
Member Author

@swift-ci please test compiler performance

@milseman
Copy link
Member Author

@eeckstein, @lorentey this is a 4.2 cherry-pick of the other PRs

Copy link
Contributor

@eeckstein eeckstein left a comment

Choose a reason for hiding this comment

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

lgtm

@swift-ci
Copy link
Contributor

Build failed
Swift Test Linux Platform
Git Sha - 0d76f5b65cb6c92f04f3ece5cabfd0d88f039c49

@swift-ci
Copy link
Contributor

Build comment file:

Build failed before running benchmark.


@swift-ci
Copy link
Contributor

!!! Couldn't read commit file !!!

@milseman
Copy link
Member Author

@swift-ci please test linux platform

@swift-ci
Copy link
Contributor

Build failed
Swift Test Linux Platform
Git Sha - 0d76f5b65cb6c92f04f3ece5cabfd0d88f039c49

@milseman
Copy link
Member Author

@swift-ci please test linux platform

@swift-ci
Copy link
Contributor

Build failed
Swift Test Linux Platform
Git Sha - 0d76f5b65cb6c92f04f3ece5cabfd0d88f039c49

milseman added 3 commits May 25, 2018 16:37
Aggressively remove all `@inlinable` from any function that's
`@inline(never)` to see the impact.

`@inlinable @inline(never)` is a potential code smell. While it might
expose some optimization and specialization opportunities to the
optimizer, it's most commonly a sign that more thought is needed.
Dropping many of Array's @inlinable annotations caused some
performance regressions. Restore them temporarily while we figure out
how to better annotate these decls.
Done to address benchmark regressions.
@milseman
Copy link
Member Author

#16850 Included most of these. Still have the Array ones though...

…ration

We have no generic environment in this case, and just need to print
the canonical generic parameter types.

Fixes <https://bugs.swift.org/browse/SR-7673>.
@tkremenek
Copy link
Member

@swift-ci test

@swift-ci
Copy link
Contributor

Build failed
Swift Test Linux Platform
Git Sha - 1488a6f

@milseman milseman closed this Jun 25, 2018
@milseman milseman deleted the 4_2_creat_inlin branch March 1, 2019 18:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants