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

[IR] Use structural equal for Range equality #15664

Merged
merged 1 commit into from
Sep 5, 2023

Conversation

quic-sanirudh
Copy link
Contributor

This PR adds a small change to verify equality of tvm.ir.Range as a structural equal. This assumes that in most cases, comparing two Ranges means to compare its min and extent as opposed to the actual Range object handle.

This PR adds a small change to verify equality of `tvm.ir.Range` as a
structural equal. This assumes that in most cases, comparing two
`Range`s means to compare its `min` and `extent` as opposed to the
actual Range object handle.
@kparzysz-quic kparzysz-quic merged commit 04ee895 into apache:main Sep 5, 2023
@quic-sanirudh quic-sanirudh deleted the range_structural_equal branch September 6, 2023 04:45
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.

3 participants