Skip to content

Conversation

@Lunderberg
Copy link
Contributor

When the TVMScript parser generates a tir::LetStmt to represent assignment to a variable, the name of the TVMScript variable should be used as the name of the tir::Var in the tir::LetStmt.

This bug was introduced in #14207.

When the TVMScript parser generates a `tir::LetStmt` to represent
assignment to a variable, the name of the variable should be used as
the name of the `tir::Var` in the `tir::LetStmt`.

This bug was introduced in apache#14207.
@Lunderberg Lunderberg requested a review from junrushao March 16, 2023 16:45
@tvm-bot
Copy link
Collaborator

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

1 similar comment
@tvm-bot
Copy link
Collaborator

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

Copy link
Member

@junrushao junrushao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks for spotting it!

@junrushao
Copy link
Member

Retriggered the CI. Should be good to merge

@junrushao junrushao merged commit d1dea13 into apache:main Mar 17, 2023
@Lunderberg Lunderberg deleted the tvmscript_preserve_variable_name branch March 17, 2023 14:02
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