Skip to content

Conversation

jckarter
Copy link
Contributor

The metatype value isn't needed to do the memory layout computation, and
IRGen only looks at the substitutions passed to the generic signature, so
we can reduce SIL code size, and avoid leaving behind useless metadata
accesses, if we don't emit it.

@jckarter
Copy link
Contributor Author

@swift-ci Please test

@jckarter jckarter force-pushed the silgen-no-sizeof-value-argument branch from 6c59950 to 783a1c4 Compare July 27, 2022 14:39
@jckarter
Copy link
Contributor Author

@swift-ci Please test

…deof.

The metatype value isn't needed to do the memory layout computation, and
IRGen only looks at the substitutions passed to the generic signature, so
we can reduce SIL code size, and avoid leaving behind useless metadata
accesses, if we don't emit it.
@jckarter jckarter force-pushed the silgen-no-sizeof-value-argument branch from 783a1c4 to 24158b2 Compare July 27, 2022 16:03
@jckarter
Copy link
Contributor Author

@swift-ci Please test

@jckarter jckarter marked this pull request as ready for review July 27, 2022 20:27
@jckarter jckarter merged commit 1aa0fb8 into swiftlang:main Jul 27, 2022
@finagolfin
Copy link
Member

@jckarter, it appears you committed an executable called foo by mistake.

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