[all-commits] [llvm/llvm-project] 9f3f6d: Move MLIR python sources to mlir/python.

Stella Laurenzo via All-commits all-commits at lists.llvm.org
Mon May 3 11:37:29 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9f3f6d7bd81ea26af9bcc2a2ac71a08affa341d4
      https://github.com/llvm/llvm-project/commit/9f3f6d7bd81ea26af9bcc2a2ac71a08affa341d4
  Author: Stella Laurenzo <stellaraccident at gmail.com>
  Date:   2021-05-03 (Mon, 03 May 2021)

  Changed paths:
    M mlir/CMakeLists.txt
    A mlir/cmake/modules/AddMLIRPython.cmake
    R mlir/cmake/modules/AddMLIRPythonExtension.cmake
    M mlir/cmake/modules/CMakeLists.txt
    M mlir/docs/Bindings/Python.md
    R mlir/lib/Bindings/Python/.style.yapf
    R mlir/lib/Bindings/Python/AsyncOps.td
    R mlir/lib/Bindings/Python/BuiltinOps.td
    M mlir/lib/Bindings/Python/CMakeLists.txt
    R mlir/lib/Bindings/Python/GPUOps.td
    R mlir/lib/Bindings/Python/LinalgOps.td
    R mlir/lib/Bindings/Python/MemRefOps.td
    R mlir/lib/Bindings/Python/ShapeOps.td
    R mlir/lib/Bindings/Python/StandardOps.td
    R mlir/lib/Bindings/Python/TensorOps.td
    R mlir/lib/Bindings/Python/mlir/_cext_loader.py
    R mlir/lib/Bindings/Python/mlir/_dlloader.py
    R mlir/lib/Bindings/Python/mlir/conversions/__init__.py
    R mlir/lib/Bindings/Python/mlir/dialects/_builtin_ops_ext.py
    R mlir/lib/Bindings/Python/mlir/dialects/_linalg_ops_ext.py
    R mlir/lib/Bindings/Python/mlir/dialects/_ods_common.py
    R mlir/lib/Bindings/Python/mlir/dialects/async_dialect/__init__.py
    R mlir/lib/Bindings/Python/mlir/dialects/async_dialect/passes/__init__.py
    R mlir/lib/Bindings/Python/mlir/dialects/builtin.py
    R mlir/lib/Bindings/Python/mlir/dialects/gpu/__init__.py
    R mlir/lib/Bindings/Python/mlir/dialects/gpu/passes/__init__.py
    R mlir/lib/Bindings/Python/mlir/dialects/linalg/__init__.py
    R mlir/lib/Bindings/Python/mlir/dialects/linalg/opdsl/__init__.py
    R mlir/lib/Bindings/Python/mlir/dialects/linalg/opdsl/dump_oplib.py
    R mlir/lib/Bindings/Python/mlir/dialects/linalg/opdsl/lang/__init__.py
    R mlir/lib/Bindings/Python/mlir/dialects/linalg/opdsl/lang/affine.py
    R mlir/lib/Bindings/Python/mlir/dialects/linalg/opdsl/lang/comprehension.py
    R mlir/lib/Bindings/Python/mlir/dialects/linalg/opdsl/lang/config.py
    R mlir/lib/Bindings/Python/mlir/dialects/linalg/opdsl/lang/dsl.py
    R mlir/lib/Bindings/Python/mlir/dialects/linalg/opdsl/lang/emitter.py
    R mlir/lib/Bindings/Python/mlir/dialects/linalg/opdsl/lang/scalar_expr.py
    R mlir/lib/Bindings/Python/mlir/dialects/linalg/opdsl/lang/types.py
    R mlir/lib/Bindings/Python/mlir/dialects/linalg/opdsl/lang/yaml_helper.py
    R mlir/lib/Bindings/Python/mlir/dialects/linalg/opdsl/ops/__init__.py
    R mlir/lib/Bindings/Python/mlir/dialects/linalg/opdsl/ops/core_named_ops.py
    R mlir/lib/Bindings/Python/mlir/dialects/linalg/passes/__init__.py
    R mlir/lib/Bindings/Python/mlir/dialects/memref.py
    R mlir/lib/Bindings/Python/mlir/dialects/python_test.py
    R mlir/lib/Bindings/Python/mlir/dialects/shape.py
    R mlir/lib/Bindings/Python/mlir/dialects/std.py
    R mlir/lib/Bindings/Python/mlir/dialects/tensor.py
    R mlir/lib/Bindings/Python/mlir/execution_engine.py
    R mlir/lib/Bindings/Python/mlir/ir.py
    R mlir/lib/Bindings/Python/mlir/passmanager.py
    R mlir/lib/Bindings/Python/mlir/runtime/__init__.py
    R mlir/lib/Bindings/Python/mlir/runtime/np_to_memref.py
    R mlir/lib/Bindings/Python/mlir/transforms/__init__.py
    R mlir/lib/Bindings/Python/requirements.txt
    A mlir/python/.style.yapf
    A mlir/python/CMakeLists.txt
    A mlir/python/mlir/_cext_loader.py
    A mlir/python/mlir/_dlloader.py
    A mlir/python/mlir/conversions/__init__.py
    A mlir/python/mlir/dialects/AsyncOps.td
    A mlir/python/mlir/dialects/BuiltinOps.td
    A mlir/python/mlir/dialects/CMakeLists.txt
    A mlir/python/mlir/dialects/GPUOps.td
    A mlir/python/mlir/dialects/LinalgOps.td
    A mlir/python/mlir/dialects/MemRefOps.td
    A mlir/python/mlir/dialects/ShapeOps.td
    A mlir/python/mlir/dialects/StandardOps.td
    A mlir/python/mlir/dialects/TensorOps.td
    A mlir/python/mlir/dialects/_builtin_ops_ext.py
    A mlir/python/mlir/dialects/_linalg_ops_ext.py
    A mlir/python/mlir/dialects/_ods_common.py
    A mlir/python/mlir/dialects/async_dialect/__init__.py
    A mlir/python/mlir/dialects/async_dialect/passes/__init__.py
    A mlir/python/mlir/dialects/builtin.py
    A mlir/python/mlir/dialects/gpu/__init__.py
    A mlir/python/mlir/dialects/gpu/passes/__init__.py
    A mlir/python/mlir/dialects/linalg/__init__.py
    A mlir/python/mlir/dialects/linalg/opdsl/__init__.py
    A mlir/python/mlir/dialects/linalg/opdsl/dump_oplib.py
    A mlir/python/mlir/dialects/linalg/opdsl/lang/__init__.py
    A mlir/python/mlir/dialects/linalg/opdsl/lang/affine.py
    A mlir/python/mlir/dialects/linalg/opdsl/lang/comprehension.py
    A mlir/python/mlir/dialects/linalg/opdsl/lang/config.py
    A mlir/python/mlir/dialects/linalg/opdsl/lang/dsl.py
    A mlir/python/mlir/dialects/linalg/opdsl/lang/emitter.py
    A mlir/python/mlir/dialects/linalg/opdsl/lang/scalar_expr.py
    A mlir/python/mlir/dialects/linalg/opdsl/lang/types.py
    A mlir/python/mlir/dialects/linalg/opdsl/lang/yaml_helper.py
    A mlir/python/mlir/dialects/linalg/opdsl/ops/__init__.py
    A mlir/python/mlir/dialects/linalg/opdsl/ops/core_named_ops.py
    A mlir/python/mlir/dialects/linalg/passes/__init__.py
    A mlir/python/mlir/dialects/memref.py
    A mlir/python/mlir/dialects/python_test.py
    A mlir/python/mlir/dialects/shape.py
    A mlir/python/mlir/dialects/std.py
    A mlir/python/mlir/dialects/tensor.py
    A mlir/python/mlir/execution_engine.py
    A mlir/python/mlir/ir.py
    A mlir/python/mlir/passmanager.py
    A mlir/python/mlir/runtime/__init__.py
    A mlir/python/mlir/runtime/np_to_memref.py
    A mlir/python/mlir/transforms/__init__.py
    A mlir/python/requirements.txt
    R mlir/test/Bindings/CMakeLists.txt
    R mlir/test/Bindings/Python/.style.yapf
    R mlir/test/Bindings/Python/CMakeLists.txt
    R mlir/test/Bindings/Python/context_lifecycle.py
    R mlir/test/Bindings/Python/context_managers.py
    R mlir/test/Bindings/Python/debug.py
    R mlir/test/Bindings/Python/dialects.py
    R mlir/test/Bindings/Python/dialects/async_dialect.py
    R mlir/test/Bindings/Python/dialects/builtin.py
    R mlir/test/Bindings/Python/dialects/gpu.py
    R mlir/test/Bindings/Python/dialects/linalg/opdsl/assignments.py
    R mlir/test/Bindings/Python/dialects/linalg/opdsl/doctests.py
    R mlir/test/Bindings/Python/dialects/linalg/opdsl/emit_structured_generic.py
    R mlir/test/Bindings/Python/dialects/linalg/opdsl/interfaces.py
    R mlir/test/Bindings/Python/dialects/linalg/opdsl/lit.local.cfg
    R mlir/test/Bindings/Python/dialects/linalg/opdsl/shape_maps_iteration.py
    R mlir/test/Bindings/Python/dialects/linalg/opdsl/test_core_named_ops.py
    R mlir/test/Bindings/Python/dialects/linalg/ops.py
    R mlir/test/Bindings/Python/dialects/linalg/opsrun.py
    R mlir/test/Bindings/Python/dialects/memref.py
    R mlir/test/Bindings/Python/dialects/python_test.py
    R mlir/test/Bindings/Python/execution_engine.py
    R mlir/test/Bindings/Python/insertion_point.py
    R mlir/test/Bindings/Python/ir_affine_expr.py
    R mlir/test/Bindings/Python/ir_affine_map.py
    R mlir/test/Bindings/Python/ir_array_attributes.py
    R mlir/test/Bindings/Python/ir_attributes.py
    R mlir/test/Bindings/Python/ir_integer_set.py
    R mlir/test/Bindings/Python/ir_location.py
    R mlir/test/Bindings/Python/ir_module.py
    R mlir/test/Bindings/Python/ir_operation.py
    R mlir/test/Bindings/Python/ir_types.py
    R mlir/test/Bindings/Python/ir_value.py
    R mlir/test/Bindings/Python/lit.local.cfg
    R mlir/test/Bindings/Python/ods_helpers.py
    R mlir/test/Bindings/Python/pass_manager.py
    R mlir/test/Bindings/Python/python_test_ops.td
    M mlir/test/CMakeLists.txt
    A mlir/test/python/CMakeLists.txt
    A mlir/test/python/dialects/async_dialect.py
    A mlir/test/python/dialects/builtin.py
    A mlir/test/python/dialects/gpu.py
    A mlir/test/python/dialects/linalg/opdsl/assignments.py
    A mlir/test/python/dialects/linalg/opdsl/doctests.py
    A mlir/test/python/dialects/linalg/opdsl/emit_structured_generic.py
    A mlir/test/python/dialects/linalg/opdsl/interfaces.py
    A mlir/test/python/dialects/linalg/opdsl/lit.local.cfg
    A mlir/test/python/dialects/linalg/opdsl/shape_maps_iteration.py
    A mlir/test/python/dialects/linalg/opdsl/test_core_named_ops.py
    A mlir/test/python/dialects/linalg/ops.py
    A mlir/test/python/dialects/linalg/opsrun.py
    A mlir/test/python/dialects/memref.py
    A mlir/test/python/dialects/ods_helpers.py
    A mlir/test/python/dialects/python_test.py
    A mlir/test/python/execution_engine.py
    A mlir/test/python/ir/affine_expr.py
    A mlir/test/python/ir/affine_map.py
    A mlir/test/python/ir/array_attributes.py
    A mlir/test/python/ir/attributes.py
    A mlir/test/python/ir/builtin_types.py
    A mlir/test/python/ir/context_lifecycle.py
    A mlir/test/python/ir/context_managers.py
    A mlir/test/python/ir/debug.py
    A mlir/test/python/ir/dialects.py
    A mlir/test/python/ir/insertion_point.py
    A mlir/test/python/ir/integer_set.py
    A mlir/test/python/ir/location.py
    A mlir/test/python/ir/module.py
    A mlir/test/python/ir/operation.py
    A mlir/test/python/ir/value.py
    A mlir/test/python/lit.local.cfg
    A mlir/test/python/pass_manager.py
    A mlir/test/python/python_test_ops.td

  Log Message:
  -----------
  Move MLIR python sources to mlir/python.

* NFC but has some fixes for CMake glitches discovered along the way (things not cleaning properly, co-mingled depends).
* Includes previously unsubmitted fix in D98681 and a TODO to fix it more appropriately in a smaller followup.

Differential Revision: https://reviews.llvm.org/D101493




More information about the All-commits mailing list