[all-commits] [llvm/llvm-project] ed21c9: [mlir] Introduce Python bindings for the PDL dialect
Denys Shabalin via All-commits
all-commits at lists.llvm.org
Wed Jan 19 02:20:10 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ed21c9276a4cc88d60cbaddc56132b1793ca30c7
https://github.com/llvm/llvm-project/commit/ed21c9276a4cc88d60cbaddc56132b1793ca30c7
Author: Denys Shabalin <shabalin at google.com>
Date: 2022-01-19 (Wed, 19 Jan 2022)
Changed paths:
M mlir/include/mlir-c/Dialect/PDL.h
A mlir/lib/Bindings/Python/DialectPDL.cpp
M mlir/lib/CAPI/Dialect/PDL.cpp
M mlir/python/CMakeLists.txt
A mlir/python/mlir/_mlir_libs/_mlir/dialects/pdl.pyi
A mlir/python/mlir/dialects/PDLOps.td
M mlir/python/mlir/dialects/_ods_common.py
A mlir/python/mlir/dialects/_pdl_ops_ext.py
A mlir/python/mlir/dialects/pdl.py
M mlir/test/CAPI/pdl.c
A mlir/test/python/dialects/pdl_ops.py
A mlir/test/python/dialects/pdl_types.py
Log Message:
-----------
[mlir] Introduce Python bindings for the PDL dialect
This change adds full python bindings for PDL, including types and operations
with additional mixins to make operation construction more similar to the PDL
syntax.
Reviewed By: ftynse
Differential Revision: https://reviews.llvm.org/D117458
More information about the All-commits
mailing list