Skip to content

Introduce the DataFlowLazyInputUseConditions class.#3732

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

Introduce the DataFlowLazyInputUseConditions class.#3732
copybara-service[bot] wants to merge 1 commit intomainfrom
test_860629832

Conversation

@copybara-service
Copy link

Introduce the DataFlowLazyInputUseConditions class.

This class lazily computes the conditions in which inputs, such as
parameters, are used by a given output. It does this by working backwards
from outputs, such as a function's return value.

NOTE: Currently only functions are supported.
NOTE: This class may create temporary nodes to express condition expressions.
These are deleted when the class is destroyed, so if they are used to
generate IR output, they should be cloned first.

This class lazily computes the conditions in which inputs, such as
parameters, are used by a given output. It does this by working backwards
from outputs, such as a function's return value.

NOTE: Currently only functions are supported.
NOTE: This class may create temporary nodes to express condition expressions.
These are deleted when the class is destroyed, so if they are used to
generate IR output, they should be cloned first.
PiperOrigin-RevId: 860629832
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.

0 participants