-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Lower OwnershipModelEliminator to just before inlining #68180
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
Conversation
@swift-ci please apple silicon benchmark |
eafb73e
to
9a6feeb
Compare
9a6feeb
to
79edfaf
Compare
@swift-ci test |
@swift-ci please apple silicon benchmark |
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.
Great!
Remove unnecessary cases
79edfaf
to
693cc52
Compare
@swift-ci apple silicon benchmark |
Would this let us bring back the move only deinit devirtualizer? |
I don't think there's anything stopping it from being enabled if there's a compelling need. It should run at the end of the OSSA pipeline. Ideally, this would also be combined with the regular release devirtualizer. |
I'm working on this because we need it for embedded swift - as a mandatory optimization |
Remove unnecessary cases
693cc52
to
763dd47
Compare
@swift-ci test |
@swift-ci apple silicon benchmark |
Benchmarks look clean: ------- Performance (arm64): -O ------- REGRESSION OLD NEW DELTA RATIO IMPROVEMENT OLD NEW DELTA RATIO ------- Code size: -O ------- REGRESSION OLD NEW DELTA RATIO ####### Testing optimization level -Osize ####### REGRESSION OLD NEW DELTA RATIO IMPROVEMENT OLD NEW DELTA RATIO ------- Code size: -Osize ------- ####### Testing optimization level -Onone ####### ------- Performance (arm64): -Onone ------- REGRESSION OLD NEW DELTA RATIO IMPROVEMENT OLD NEW DELTA RATIO |
Seems to have exposed a bug in Linux. |
@swift-ci test |
1 similar comment
@swift-ci test |
@swift-ci apple silicon benchmark |
1 similar comment
@swift-ci apple silicon benchmark |
@swift-ci test |
5a71a0f
to
e1cac38
Compare
Remove unnecessary cases
0a06693
to
bf264fc
Compare
Remove unnecessary cases
@swift-ci test |
@swift-ci build toolchain |
@swift-ci test source compatibility |
This can in turn trigger try_apply -> apply [nothrow] transformation.
Remove unnecessary cases
Fixes rdar://117878243
bf264fc
to
ce24269
Compare
@swift-ci test Linux Platform |
Remove unnecessary cases
@swift-ci test |
@swift-ci apple silicon benchmark |
@swift-ci test source compatibility |
043d1c6
to
ad170b6
Compare
@swift-ci smoke test |
@swift-ci build toolchain |
@swift-ci smoke test |
@swift-ci build toolchain Linux platform |
@swift-ci test linux |
@swift-ci build toolchain linux platform |
Remove unnecessary cases
No description provided.