Skip to content

fix: resource sharing was generating the wrong visibility edges for one of the folding directions for the general case.#3826

Draft
copybara-service[bot] wants to merge 1 commit intomainfrom
test_868357500
Draft

fix: resource sharing was generating the wrong visibility edges for one of the folding directions for the general case.#3826
copybara-service[bot] wants to merge 1 commit intomainfrom
test_868357500

Conversation

@copybara-service
Copy link

fix: resource sharing was generating the wrong visibility edges for one of the folding directions for the general case.

Also, visibility analysis's GetEdgesForMutuallyExclusiveVisibilityExpr was incorrectly allowing the construction of expressions on a subset of the edges, dropping edges that would cause dependency cycles with other mutually exclusive nodes, without validating whether this results in a valid expression. The function now validates that even with these exclusions, the resulting expression implies that none of the 'others' are visible (and is always true if 'one' is visible)

…ne of the folding directions for the general case.

Also, visibility analysis's GetEdgesForMutuallyExclusiveVisibilityExpr was incorrectly allowing the construction of expressions on a subset of the edges, dropping edges that would cause dependency cycles with other mutually exclusive nodes, without validating whether this results in a valid expression. The function now validates that even with these exclusions, the resulting expression implies that none of the 'others' are visible (and is always true if 'one' is visible)

PiperOrigin-RevId: 868357500
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