Skip to content

FieldSensitivePrunedLiveness: inject_enum_addr only initializes the tag of enums. #72172

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
Mar 8, 2024

Conversation

jckarter
Copy link
Contributor

@jckarter jckarter commented Mar 8, 2024

Fixes a crash when optional-chaining a move-only function that produces an address-only value; FSPL would previously see the apply that initializes the payload and the inject_enum_tag as overlapping defs, leading to mishandling when trying to maximize the lifetime of the enum. Fixes rdar://124207814

… tag of enums.

Fixes a crash when optional-chaining a move-only function that produces an
address-only value; FSPL would previously see the apply that initializes the
payload and the `inject_enum_tag` as overlapping defs, leading to mishandling
when trying to maximize the lifetime of the enum.
@jckarter
Copy link
Contributor Author

jckarter commented Mar 8, 2024

@swift-ci Please test

@jckarter jckarter merged commit 33f8fc4 into swiftlang:main Mar 8, 2024
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