[all-commits] [llvm/llvm-project] 95ddbe: [mlir] Split out Python bindings for dialects into...

ftynse via All-commits all-commits at lists.llvm.org
Thu Jan 6 01:31:28 PST 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 95ddbed9b797e33d952e4ab9d33f08039c471788
  Author: Alex Zinenko <zinenko at google.com>
  Date:   2022-01-06 (Thu, 06 Jan 2022)

  Changed paths:
    M mlir/lib/Bindings/Python/DialectLinalg.cpp
    M mlir/lib/Bindings/Python/DialectQuant.cpp
    M mlir/lib/Bindings/Python/DialectSparseTensor.cpp
    R mlir/lib/Bindings/Python/Dialects.h
    M mlir/lib/Bindings/Python/MainModule.cpp
    M mlir/python/CMakeLists.txt
    M mlir/python/mlir/dialects/_linalg_ops_ext.py
    M mlir/python/mlir/dialects/linalg/__init__.py
    M mlir/python/mlir/dialects/linalg/opdsl/lang/emitter.py
    M mlir/python/mlir/dialects/quant.py
    M mlir/python/mlir/dialects/sparse_tensor.py
    M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel

  Log Message:
  [mlir] Split out Python bindings for dialects into separate libs

Historically, the bindings for the Linalg dialect were included into the
"core" bindings library because they depended on the C++ implementation
of the "core" bindings. The other dialects followed the pattern. Now
that this dependency is gone, split out each dialect into a separate
Python extension library.

Depends On D116649, D116605

Reviewed By: stellaraccident

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

More information about the All-commits mailing list