-
Notifications
You must be signed in to change notification settings - Fork 10.5k
SIL: Stop imploding parameter list into a single value with opaque abstraction pattern #19578
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
SIL: Stop imploding parameter list into a single value with opaque abstraction pattern #19578
Conversation
b8ff5dc
to
0241715
Compare
@swift-ci Please test |
@swift-ci Please benchmark |
@swift-ci Please test source compatibility |
Build comment file:Performance: -O
Performance: -Osize
Performance: -Onone
How to read the dataThe tables contain differences in performance which are larger than 8% and differences in code size which are larger than 1%.If you see any unexpected regressions, you should consider fixing the regressions before you merge the PR. Noise: Sometimes the performance results (not code size!) contain false alarms. Unexpected regressions which are marked with '(?)' are probably noise. If you see regressions which you cannot explain you can try to run the benchmarks again. If regressions still show up, please consult with the performance team (@eeckstein). Hardware Overview
|
Build failed |
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.
Cool.
Build failed |
…straction pattern The constraint solver support for the Swift 3 function type behavior has been removed, so it's no longer possible to pun the same value as both a function taking multiple parameters and a function taking a single tuple argument. This means the entire parameter list is no longer a target for substitution as a single value, so the most general form of a function value passes each parameter indirectly instead of passing a single tuple parameter indirectly.
0241715
to
ebe769a
Compare
@swift-ci Please smoke test |
1 similar comment
@swift-ci Please smoke test |
The constraint solver support for the Swift 3 function type behavior
has been removed, so it's no longer possible to pun the same value as
both a function taking multiple parameters and a function taking a
single tuple argument.
This means the entire parameter list is no longer a target for
substitution as a single value, so the most general form of a function
value passes each parameter indirectly instead of passing a single
tuple parameter indirectly.