Skip to content

Conversation

@vinx13
Copy link
Member

@vinx13 vinx13 commented Oct 12, 2022

DataTypeLegalizer can be used for more general purpose. This PR extracts the data type legalizing logic from NarrowDataType into a separate base class. There are no functional changes.

cc @Hzfengsy @junrushao @wrongtest-intellif

@tvm-bot
Copy link
Collaborator

tvm-bot commented Oct 12, 2022

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

@spectrometerHBH spectrometerHBH merged commit f232272 into apache:main Oct 14, 2022
Comment on lines +21 to +22
* \file data_type_rewriter.cc
* \brief Rewrite the data type of expressions.
Copy link
Contributor

Choose a reason for hiding this comment

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

Should we update the filename to data_type_legalizer.cc or keep it as “rewriter”?

@@ -0,0 +1,140 @@
/*
Copy link
Contributor

Choose a reason for hiding this comment

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

Also filename 👀.

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.

5 participants