Skip to content

[IR] Use structural equal for Range equality#15664

Merged
kparzysz-quic merged 1 commit intoapache:mainfrom
quic-sanirudh:range_structural_equal
Sep 5, 2023
Merged

[IR] Use structural equal for Range equality#15664
kparzysz-quic merged 1 commit intoapache:mainfrom
quic-sanirudh:range_structural_equal

Conversation

@quic-sanirudh
Copy link
Copy Markdown
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