Skip to content

LifetimeDependenceScopeFixup: extend store_borrow allocations #83728

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

atrick
Copy link
Contributor

@atrick atrick commented Aug 14, 2025

  • [NFC] SwiftCompilerSources: add a correctly named filterUsers API
    Rename existing filterUsers to filterUses.

  • [NFC] Rename a variable for clarity.

  • LifetimeDependenceScopeFixup: extend store_borrow allocations
    Extend temporary allocations (sink dealloc_stacks) initialized by a store_borrow
    across lifetime dependent uses.

    Fixes rdar://143159873 ([nonescapable] extend rvalue lifetimes when they are the source of a dependency)

atrick added 3 commits August 14, 2025 09:08
Rename existing filterUsers to filterUses.
Extend temporary allocations (sink dealloc_stacks) initialized by a store_borrow
across lifetime dependent uses.

Fixes rdar://143159873 ([nonescapable] extend rvalue lifetimes when they are the source of a dependency)
@atrick atrick requested a review from eeckstein as a code owner August 14, 2025 17:15
@atrick atrick requested a review from meg-gupta August 14, 2025 17:17
@atrick
Copy link
Contributor Author

atrick commented Aug 14, 2025

@swift-ci test

@atrick
Copy link
Contributor Author

atrick commented Aug 14, 2025

@swift-ci smoke test windows

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