Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix super() visit function in PyExprVisitor and PyExprMutator #15189

Merged
merged 1 commit into from Jun 30, 2023

Conversation

LeshengJin
Copy link
Contributor

As we discussed in https://discuss.tvm.apache.org/t/recursive-visiting-in-pyexprmutator/15224,

It will run into an infinite recursion if we call the super() visit function in PyExprVisitor and PyExprMutator.

super().visit_binding_block_()
super().visit_dataflow_block_()
super().visit_var_def_()
super().visit_dataflow_var_def_()

This PR fixes the behavior.

@tvm-bot
Copy link
Collaborator

tvm-bot commented Jun 30, 2023

Thanks for contributing to TVM! Please refer to the contributing guidelines https://tvm.apache.org/docs/contribute/ for useful information and tips. Please request code reviews from Reviewers by @-ing them in a comment.

  • No users to auto-tag found, no teams are specified in PR title See #10317 for details

Generated by tvm-bot

@MasterJH5574 MasterJH5574 merged commit 9d27a6a into apache:unity Jun 30, 2023
15 checks passed
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.

None yet

3 participants