Skip to content

[SilOpt] Add new layout type _TrivialStride and add pre-specialization suppport for it #70308

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

Merged
merged 1 commit into from
Dec 9, 2023

Conversation

drexin
Copy link
Contributor

@drexin drexin commented Dec 7, 2023

rdar://119329771

This layout allows adding pre-specializations for trivial types that have a different size, but the same stride. This is especially useful for collections, where the stride is the important factor.

@drexin
Copy link
Contributor Author

drexin commented Dec 7, 2023

@swift-ci smoke test

@drexin drexin requested a review from aschwaighofer December 7, 2023 19:58
@drexin
Copy link
Contributor Author

drexin commented Dec 7, 2023

Please test with following PR:
swiftlang/swift-syntax#2390

@swift-ci smoke test

@drexin drexin force-pushed the wip-stride-layout branch from da73b40 to a219767 Compare December 7, 2023 22:21
@drexin
Copy link
Contributor Author

drexin commented Dec 7, 2023

@swift-ci smoke test

@drexin
Copy link
Contributor Author

drexin commented Dec 7, 2023

Please test with following PR:
swiftlang/swift-syntax#2390

@swift-ci smoke test

@drexin
Copy link
Contributor Author

drexin commented Dec 8, 2023

@swift-ci smoke test

@drexin
Copy link
Contributor Author

drexin commented Dec 8, 2023

Please test with following PR:
swiftlang/swift-syntax#2390

@swift-ci smoke test

@drexin drexin force-pushed the wip-stride-layout branch from a219767 to 29d7ff1 Compare December 8, 2023 19:35
@drexin
Copy link
Contributor Author

drexin commented Dec 8, 2023

@swift-ci smoke test

@drexin
Copy link
Contributor Author

drexin commented Dec 8, 2023

Please test with following PR:
swiftlang/swift-syntax#2390

@swift-ci smoke test

…n suppport for it

rdar://119329771

This layout allows adding pre-specializations for trivial types that have a different size, but the same stride. This is especially useful for collections, where the stride is the important factor.
@drexin drexin force-pushed the wip-stride-layout branch from 29d7ff1 to 40b7855 Compare December 9, 2023 04:45
@drexin
Copy link
Contributor Author

drexin commented Dec 9, 2023

Please test with following PR:
swiftlang/swift-syntax#2390

@swift-ci smoke test

@drexin drexin merged commit 36dd2c9 into swiftlang:main Dec 9, 2023
Catfish-Man pushed a commit to Catfish-Man/swift that referenced this pull request Jan 19, 2024
…n suppport for it (swiftlang#70308)

rdar://119329771

This layout allows adding pre-specializations for trivial types that have a different size, but the same stride. This is especially useful for collections, where the stride is the important factor.
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.

1 participant