Uh oh!
There was an error while loading. Please reload this page.
[TIR] Add DeclBuffer IR node and functors - #12300
Merged
Merged
Conversation
github-actionsBot
requested review from
Hzfengsy, Lunderberg, junrushao, tqchen and wrongtest-intellifAugust 3, 2022 21:19
vinx13
marked this pull request as draft
August 3, 2022 21:23
vinx13
marked this pull request as ready for review
August 3, 2022 22:06
4 tasks
Member
CC @cyx-6 please review for potential TVMScript syntactic/semantic change :-) |
cyx-6
commented
Aug 4, 2022
Contributor
LGTM. New parser is compatible with this change, and will be updated soon. |
Hzfengsy
approved these changes
Aug 5, 2022
junrushao
approved these changes
Aug 5, 2022
junrushao
left a comment
Member
There was a problem hiding this comment.
Overall LGTM. A quick question: after this change, the parser will treat T.decl_buffer as an IR construct instead of an intrinsic that declares a buffer - is my understanding correct?
Uh oh!
There was an error while loading. Please reload this page.
vinx13
commented
Aug 5, 2022
MemberAuthor
yes. |
xinetzone pushed a commit
to daobook/tvm
that referenced
this pull request
Nov 25, 2022
* [TIR] Add DeclBuffer node * [TIR] Add IR functors for DeclBuffer * [TVMScript] Add printer and parser for DeclBuffer * Update printer * Update printer * Add test case * lint * fix
quic-sanirudh added a commit
to quic-sanirudh/tvm
that referenced
this pull request
Feb 23, 2023
`DeclBufferNode` was added recently in apache#12300, but support to traverse it in codegen_llvm was not added. Since this just stmt just declares a new buffer for a body of TIR, we just need to traverse the body to properly generate code for LLVM.
kparzysz-quic pushed a commit
that referenced
this pull request
Feb 23, 2023
`DeclBufferNode` was added recently in #12300, but support to traverse it in codegen_llvm was not added. Since this just stmt just declares a new buffer for a body of TIR, we just need to traverse the body to properly generate code for LLVM.
yongwww pushed a commit
to yongwww/tvm
that referenced
this pull request
Feb 27, 2023
`DeclBufferNode` was added recently in apache#12300, but support to traverse it in codegen_llvm was not added. Since this just stmt just declares a new buffer for a body of TIR, we just need to traverse the body to properly generate code for LLVM.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR is part of #11627. It added the IR node
DeclBufferNode, IR functors and TVMScript printer / parser.cc @tqchen@Lunderberg@Hzfengsy@junrushao1994@wrongtest-intellif