-
Notifications
You must be signed in to change notification settings - Fork 10.5k
[generic-specializer] Fixes for partial_apply instructions and for specialization of self-recursive functions #9470
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
[generic-specializer] Fixes for partial_apply instructions and for specialization of self-recursive functions #9470
Conversation
@swift-ci please smoke test |
9751187
to
d330e0c
Compare
d330e0c
to
8e2bcd3
Compare
- re-factor the code so that all kinds of applies can reuse it - properly handle self-recursive generic functions Fixes rdar://31899989 and rdar://31886854
8e2bcd3
to
f860741
Compare
@swift-ci please test |
1 similar comment
@swift-ci please test |
@swift-ci please smoke benchmark |
1 similar comment
@swift-ci please smoke benchmark |
@eeckstein Do you mind taking a look? We may need it for 4.0 |
LGTM. Maybe we should push this down into SILCloner? |
@slavapestov Yes, it it possible. But TypeSubstCloner has this |
Build comment file:Optimized (O) Regression (3)
No Changes (266)
No Changes (269)
|
Improve handling of self-recursive apply instructions
Fixes rdar://31899989 and rdar://31886854