This is an automated email from the ASF dual-hosted git repository.
bohan pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/tvm.git
from b389d4dac4 [Torch] Fix torch contrib issues (#13061)
add f232272e75 [TIR] Refactor NarrowDataType into DataTypeLegalizer
(#13049)
No new revisions were added by this update.
Summary of changes:
include/tvm/tir/stmt_functor.h | 51 +++++++++
src/tir/ir/data_type_rewriter.cc | 195 ++++++++++++++++++++++++++++++++++
src/tir/transforms/narrow_datatype.cc | 154 +++------------------------
tests/cpp/data_type_rewriter_test.cc | 140 ++++++++++++++++++++++++
4 files changed, 398 insertions(+), 142 deletions(-)
create mode 100644 src/tir/ir/data_type_rewriter.cc
create mode 100644 tests/cpp/data_type_rewriter_test.cc