Skip to content

Conversation

nate-chandler
Copy link
Contributor

Extract the hack to determine whether an address starts out initialized into a separate function and then extend it to look through mark_dependence instructions.

Fixes a bug with nested accessors.

While the FIXME to derive whether an address begins initialized requires
auditing all sites where the instruction is emitted to begin with,
making this a predicate that depends only on the instruction can be done
now.
To enable changing its definition.
Extend the hack to determine whether an address begins initialized to
look through mark_dependence instructions.
@nate-chandler nate-chandler requested a review from kavon as a code owner October 21, 2024 16:52
@nate-chandler
Copy link
Contributor Author

@swift-ci please test

@nate-chandler
Copy link
Contributor Author

@swift-ci please test source compatibility

@nate-chandler
Copy link
Contributor Author

@swift-ci please apple silicon benchmark

@nate-chandler
Copy link
Contributor Author

@swift-ci please test macos platform

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

@nate-chandler
Copy link
Contributor Author

@swift-ci please test windows platform

@nate-chandler nate-chandler merged commit 82c380b into swiftlang:main Oct 22, 2024
7 of 8 checks passed
@nate-chandler nate-chandler deleted the bug/20241021/1 branch October 22, 2024 00:06
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.

2 participants