Skip to content

Conversation

@drexin
Copy link
Contributor

@drexin drexin commented Dec 11, 2025

rdar://164200332

The specialization should only apply to the Swift version of the method, which gets called by the ObjC version anyway, so the specialization is still in effect.

@drexin
Copy link
Contributor Author

drexin commented Dec 11, 2025

@swift-ci smoke test

Copy link
Contributor

@aschwaighofer aschwaighofer left a comment

Choose a reason for hiding this comment

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

Lgtm

Copy link
Contributor

@Kyle-Ye Kyle-Ye left a comment

Choose a reason for hiding this comment

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

I assume the commit message and PR title should use “attribute” instead of “aatribute”? It looks like to a typo for me.

@drexin
Copy link
Contributor Author

drexin commented Dec 12, 2025

I assume the commit message and PR title should use “attribute” instead of “aatribute”? It looks like to a typo for me.

Yes, thanks!

rdar://164200332

The specialization should only apply to the Swift version of the method, which gets called by the
ObjC version anyway, so the specialization is still in effect.
@drexin drexin changed the title [SILOpt] Don't apply @_specialize aatribute to ObjC methods [SILOpt] Don't apply @_specialize attribute to ObjC methods Dec 12, 2025
@drexin
Copy link
Contributor Author

drexin commented Dec 12, 2025

@swift-ci smoke test

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.

3 participants