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

[TIR] Preserve object equality in Buffer::GetFlattenedBuffer #15040

Merged

Conversation

Lunderberg
Copy link
Contributor

If buffer is already flat, then Buffer::GetFlattenedBuffer() should return the same object. This is a subset of changes, being split out from #14778 into independent portions.

If buffer is already flat, then `Buffer::GetFlattenedBuffer()` should
return the same object.
@tvm-bot
Copy link
Collaborator

tvm-bot commented Jun 6, 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

@vinx13 vinx13 merged commit d2d9dc7 into apache:main Jun 7, 2023
6 checks passed
@Lunderberg Lunderberg deleted the declbuffer_noop_to_flatten_flat_buffer branch June 7, 2023 12:06
junrushao pushed a commit to junrushao/tvm that referenced this pull request Jun 22, 2023
…15040)

If buffer is already flat, then `Buffer::GetFlattenedBuffer()` should
return the same object.
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