You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by tq...@apache.org on 2020/04/02 00:14:56 UTC
[incubator-tvm] branch master updated (0449966 -> e60003c)
This is an automated email from the ASF dual-hosted git repository.
tqchen pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-tvm.git.
from 0449966 [RELAY] Fixes to MergeCompilerRegions (#5195)
add e60003c [REFACTOR][TIR] Introduce ExprDeepEqual, Remove IRDeepCompare (#5206)
No new revisions were added by this update.
Summary of changes:
docs/api/python/tir.rst | 9 +-
.../tvm/tir/analysis.h | 51 ++-
include/tvm/tir/expr.h | 11 +
include/tvm/tir/ir_pass.h | 29 --
python/tvm/hybrid/calls.py | 3 +-
python/tvm/hybrid/parser.py | 6 +-
python/tvm/ir/base.py | 4 +
python/tvm/tir/__init__.py | 1 +
.../{micro/device/arm => tir/analysis}/__init__.py | 5 +-
python/tvm/{arith => tir/analysis}/_ffi_api.py | 4 +-
python/tvm/tir/analysis/analysis.py | 57 +++
src/arith/canonical_simplify.cc | 4 +-
src/arith/const_int_bound.cc | 3 +-
src/arith/pattern_match.h | 3 +-
src/arith/rewrite_simplify.cc | 9 +-
src/arith/stmt_simplify.cc | 4 +-
src/node/structural_equal.cc | 1 -
src/relay/op/nn/convolution.h | 9 +-
src/relay/qnn/op/convolution.cc | 7 +-
src/te/operation/hybrid_op.cc | 5 +-
src/te/operation/tensorize.cc | 4 +-
src/tir/analysis/deep_equal.cc | 75 ++++
src/tir/ir/buffer.cc | 10 +-
src/tir/pass/ffi_api.cc | 9 -
src/tir/pass/ir_deep_compare.cc | 460 ---------------------
src/tir/pass/make_api.cc | 3 +-
src/tir/pass/storage_rewrite.cc | 3 +-
src/tir/pass/storage_sync.cc | 5 +-
src/tir/transforms/combine_context_call.cc | 21 +-
tests/cpp/pattern_match_test.cc | 12 +-
.../unittest/test_arith_canonical_simplify.py | 6 +-
.../unittest/test_arith_detect_linear_equation.py | 2 +-
tests/python/unittest/test_arith_intset.py | 2 +-
.../python/unittest/test_arith_rewrite_simplify.py | 2 +-
tests/python/unittest/test_hybrid_script.py | 4 +-
.../python/unittest/test_te_schedule_tensorize.py | 55 +--
.../test_tir_analysis_expr_deep_equal.py} | 23 +-
tests/python/unittest/test_tir_buffer.py | 18 +-
tests/python/unittest/test_tir_ops.py | 12 +-
tests/python/unittest/test_tir_pass_basic.py | 6 +-
tests/python/unittest/test_tir_pass_equal.py | 66 ---
.../unittest/test_tir_pass_loop_partition.py | 2 +-
.../unittest/test_tir_structural_equal_hash.py | 25 ++
.../unittest/test_tir_transform_prim_func_pass.py | 2 +-
topi/include/topi/detail/constant_utils.h | 6 +-
vta/python/vta/ir_pass.py | 20 +-
46 files changed, 364 insertions(+), 714 deletions(-)
copy src/tir/pass/verify_compact_buffer.cc => include/tvm/tir/analysis.h (54%)
copy python/tvm/{micro/device/arm => tir/analysis}/__init__.py (87%)
copy python/tvm/{arith => tir/analysis}/_ffi_api.py (90%)
create mode 100644 python/tvm/tir/analysis/analysis.py
create mode 100644 src/tir/analysis/deep_equal.cc
delete mode 100644 src/tir/pass/ir_deep_compare.cc
copy tests/python/{relay/test_change_batch.py => unittest/test_tir_analysis_expr_deep_equal.py} (67%)
delete mode 100644 tests/python/unittest/test_tir_pass_equal.py