Skip to content

SIL Optimizer improvements for variadic generics [5.9] #65241

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

slavapestov
Copy link
Contributor

  • Description: Improves quality of optimized code when calling a variadic generic function with a concrete pack type, by eliminating the iteration over the pack and in trivial cases, the element archetype. Also, fixes SIL serialization for @inlinable/@_alwaysEmitIntoClient variadic functions.
  • Risk: Low, should at worst break variadic generics.
  • Tested: New tests added.
  • Reviewed by @hborla
  • Radar: rdar://108004074

@slavapestov slavapestov requested a review from a team as a code owner April 18, 2023 02:35
@slavapestov
Copy link
Contributor Author

@swift-ci Please test

@slavapestov slavapestov force-pushed the sil-optimizer-variadic-generics-5.9 branch from 5599ef4 to c8ef00f Compare April 18, 2023 15:24
@slavapestov
Copy link
Contributor Author

@swift-ci Please test

@slavapestov slavapestov force-pushed the sil-optimizer-variadic-generics-5.9 branch from c8ef00f to b215d61 Compare April 19, 2023 00:16
@slavapestov
Copy link
Contributor Author

@swift-ci Please test

@slavapestov
Copy link
Contributor Author

@swift-ci Please test MacOS

@slavapestov slavapestov merged commit 434fb4b into swiftlang:release/5.9 Apr 19, 2023
@AnthonyLatsis AnthonyLatsis added the 🍒 release cherry pick Flag: Release branch cherry picks label May 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🍒 release cherry pick Flag: Release branch cherry picks swift 5.9
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants