Skip to content

Conversation

@meg-gupta
Copy link
Contributor

@meg-gupta meg-gupta commented Nov 18, 2025

Description: Annotate subscript and count of MutableSpan and OutputSpan with @_semantics to aid SIL's bounds check optimizations. Span and InlineArray's subscript was already annotated with @_semantics and doesn't need a similar change. Also, use _assumeNonNegative for OutputSpan's count property.

Main PR: #85481

Reviewer: @glessard

@meg-gupta meg-gupta requested a review from a team as a code owner November 18, 2025 23:19
@meg-gupta
Copy link
Contributor Author

@swift-ci test

@meg-gupta meg-gupta enabled auto-merge November 18, 2025 23:20
@meg-gupta
Copy link
Contributor Author

@swift-ci test macOS platform

@meg-gupta meg-gupta merged commit 0261c10 into swiftlang:release/6.3 Nov 21, 2025
5 checks passed
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