Skip to content

[6.3] MandatoryDestroyHoisting: ignore type-dependent operands when computing the liverange of a value#87563

Open
eeckstein wants to merge 1 commit intoswiftlang:release/6.3from
eeckstein:fix-mandatory-destroy-hoisting-6.3
Open

[6.3] MandatoryDestroyHoisting: ignore type-dependent operands when computing the liverange of a value#87563
eeckstein wants to merge 1 commit intoswiftlang:release/6.3from
eeckstein:fix-mandatory-destroy-hoisting-6.3

Conversation

@eeckstein
Copy link
Contributor

…ng the liverange of a value

Type-dependent operands can appear outside the liverange of a value and therefore must be ignored.
This bug caused MandatoryDestroyHoisting to insert wrong destroys.

Fixes a SIL verification error and/or a mis-compile
rdar://170510052
@eeckstein eeckstein requested a review from a team as a code owner February 27, 2026 11:26
@eeckstein eeckstein requested a review from meg-gupta February 27, 2026 11:26
@eeckstein
Copy link
Contributor Author

@swift-ci test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant