Skip to content

Conversation

@Lunderberg
Copy link
Contributor

The relax.transform.LazySetOutput transformation updates a Relax function to produce output from a fset_output callback. In the initial implementation, the fset_output was marked as a pure function, which allowed it to be erroneously removed from a function.

This commit updates the relax::FuncStructInfo used to annotate fset_output, marking it as an impure function.

The `relax.transform.LazySetOutput` transformation updates a Relax function
to produce output from a `fset_output` callback.  In the initial
implementation, the `fset_output` was marked as a pure function, which
allowed it to be erroneously removed from a function.

This commit updates the `relax::FuncStructInfo` used to annotate
`fset_output`, marking it as an impure function.
@Lunderberg Lunderberg requested a review from vinx13 June 26, 2024 18:18
@Lunderberg Lunderberg merged commit 3c6ca5d into apache:main Jun 27, 2024
@Lunderberg Lunderberg deleted the relax_lazy_output_has_impure_callback branch June 27, 2024 14:52
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