Skip to content

[Unity][Bugfix] Handle assignment of non-dataflow var to a dataflow var in CanonicalizeBindings#15523

Merged
Hzfengsy merged 2 commits intoapache:unityfrom
slyubomirsky:canonicalize-bindings-df-assign-fix
Aug 11, 2023
Merged

[Unity][Bugfix] Handle assignment of non-dataflow var to a dataflow var in CanonicalizeBindings#15523
Hzfengsy merged 2 commits intoapache:unityfrom
slyubomirsky:canonicalize-bindings-df-assign-fix

Conversation

@slyubomirsky
Copy link
Copy Markdown
Contributor

Split off from #15474: This is a simple bugfix that corrects a segfault in the CanonicalizeBindings pass. Namely, it did not handle the case of a non-dataflow var being bound to a dataflow var (which is permitted) and gave a segfault if it was encountered.

@tvm-bot
Copy link
Copy Markdown
Collaborator

tvm-bot commented Aug 10, 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.

Generated by tvm-bot

Copy link
Copy Markdown
Member

@yongwww yongwww left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Hzfengsy Hzfengsy merged commit 13398c1 into apache:unity Aug 11, 2023
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.

4 participants