You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by ar...@apache.org on 2022/04/19 01:44:51 UTC
[tvm] branch main updated (0cd4fa688c -> 4178617fcf)
This is an automated email from the ASF dual-hosted git repository.
areusch pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/tvm.git
from 0cd4fa688c Register PackedFuncObj with type registry. (#11039)
add 4178617fcf [AOT] Support LLVM backend with C++ runtime (#10753)
No new revisions were added by this update.
Summary of changes:
CMakeLists.txt | 21 +-
include/tvm/runtime/metadata.h | 2 +
include/tvm/runtime/metadata_base.h | 31 +-
python/tvm/script/tir/special_stmt.py | 21 +-
python/tvm/testing/tir.py | 13 +
src/printer/tir_text_printer.cc | 11 +
src/relay/backend/aot_executor_codegen.cc | 276 +++++++++-------
src/runtime/metadata.cc | 15 +-
src/target/llvm/codegen_cpu.cc | 362 ++++++++++++++++++++-
src/target/llvm/codegen_cpu.h | 10 +-
src/target/llvm/codegen_llvm.cc | 85 +++--
src/target/llvm/codegen_llvm.h | 42 ++-
src/target/llvm/llvm_common.cc | 7 +
src/target/llvm/llvm_common.h | 2 +
src/target/llvm/llvm_module.cc | 41 ++-
src/target/llvm/llvm_module.h | 3 +
src/target/metadata.h | 11 +-
src/target/metadata_module.cc | 6 +
src/target/metadata_utils.cc | 155 +++++++++
src/target/metadata_utils.h | 141 ++++++++
src/target/source/codegen_c_host.cc | 28 +-
src/target/source/source_module.cc | 232 ++++++-------
src/tir/ir/expr.cc | 2 +-
src/tir/transforms/legalize_packed_calls.cc | 78 +++--
src/tir/transforms/lower_tvm_builtin.cc | 103 +++---
.../convert_pool_allocations_to_offsets.cc | 11 +-
tests/cpp/aot_metadata_test.cc | 183 ++++++++---
tests/python/contrib/test_hexagon/test_launcher.py | 4 +-
tests/python/relay/aot/test_c_device_api.py | 23 +-
tests/python/relay/aot/test_cpp_aot.py | 47 +--
tests/python/relay/aot/test_crt_aot.py | 2 +-
.../unittest/test_aot_legalize_packed_call.py | 88 +++--
...ransform_convert_pool_allocations_to_offsets.py | 99 +++++-
.../python/unittest/test_tvmscript_error_report.py | 22 ++
.../python/unittest/test_tvmscript_syntax_sugar.py | 17 +
35 files changed, 1667 insertions(+), 527 deletions(-)
create mode 100644 src/target/metadata_utils.cc
create mode 100644 src/target/metadata_utils.h