Skip to content

[TIR] Handle DeclBuffer in IRSubstitute#15054

Merged
Hzfengsy merged 1 commit intoapache:mainfrom
Lunderberg:declbuffer_ir_substitute
Jun 8, 2023
Merged

[TIR] Handle DeclBuffer in IRSubstitute#15054
Hzfengsy merged 1 commit intoapache:mainfrom
Lunderberg:declbuffer_ir_substitute

Conversation

@Lunderberg
Copy link
Copy Markdown
Contributor

Previously, occurrences of DeclBuffer were not handled by IRSubstitute, and the buffer object was left unhandled. This commit updates IRSubstitute to modify the buffer object in DeclBuffer, similar to how it is already modified in BufferLoad and BufferStore instances.

This is a subset of changes being split out from #14778 into independent portions.

Previously, occurrences of `DeclBuffer` were not handled by
`IRSubstitute`, and the buffer object was left unhandled.  This commit
updates `IRSubstitute` to modify the buffer object in `DeclBuffer`,
similar to how it is already modified in `BufferLoad` and
`BufferStore` instances.

This is a subset of changes being split out from
apache#14778 into independent portions.
@tvm-bot
Copy link
Copy Markdown
Collaborator

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

@Hzfengsy Hzfengsy merged commit fa4d73a into apache:main Jun 8, 2023
@Lunderberg Lunderberg deleted the declbuffer_ir_substitute branch June 8, 2023 11:27
junrushao pushed a commit to junrushao/tvm that referenced this pull request Jun 22, 2023
Previously, occurrences of `DeclBuffer` were not handled by
`IRSubstitute`, and the buffer object was left unhandled.  This commit
updates `IRSubstitute` to modify the buffer object in `DeclBuffer`,
similar to how it is already modified in `BufferLoad` and
`BufferStore` instances.

This is a subset of changes being split out from
apache#14778 into independent portions.
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