Skip to content

[LICM] Bail on unreferenceable storage. #73240

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
Apr 25, 2024

Conversation

nate-chandler
Copy link
Contributor

When computing an access path, if a struct with unreferenceable storage is encountered, bail out. Otherwise, an attempt will be made to construct such a struct via the struct instruction which isn't possible.

rdar://127013278

When computing an access path, if a struct with unreferenceable storage
is encountered, bail out.  Otherwise, an attempt will be made to
construct such a struct via the struct instruction which isn't possible.

rdar://127013278
@nate-chandler
Copy link
Contributor Author

@swift-ci please test

Copy link
Contributor

@atrick atrick left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@meg-gupta
Copy link
Contributor

LGTM!

@nate-chandler nate-chandler merged commit 49dd95f into swiftlang:main Apr 25, 2024
@nate-chandler nate-chandler deleted the rdar127013278 branch April 25, 2024 14:00
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