aboutsummaryrefslogtreecommitdiff
path: root/utils/bazel/llvm-project-overlay/mlir/python
AgeCommit message (Collapse)AuthorFilesLines
2026-02-10[bazel] NFC: shave off unnecessary newlines (#180626)Christian Sigg1-57/+19
And silence `stubgen_runner` console spew.
2026-02-06[bazel] Run builidifer. NFC.Benjamin Kramer1-3/+3
2026-02-06Fix Bazel build for ba58225 (#180136)Tomás Longeri1-0/+43
2026-01-26[bazel] Fix mlir python build (#177980)Walter Lee1-0/+1
Fixes #169045 (2cc4d45715cdd5eb23df51a48d6fd95c37a2276a)
2025-11-07[bazel][mlir] Fix transform_xegpu_ext.py test for bazel (#166924)Karlo Basioli1-0/+1
2025-11-07Fix bazel build issue I introduced in #166918 (#166921)Karlo Basioli1-2/+2
2025-11-07Fix bazel build issue from #165615 (#166918)Karlo Basioli1-0/+18
2025-10-22[bazel] Fix MLIR Python tablegen deps after 5129b37 (#164690)Reid Kleckner1-0/+1
2025-10-21[MLIR][Python] Add shard Dialect Python Bindings (#162578)Siavash Nazari1-0/+32
Add Python bindings for `shard` dialect. Provide means for creating constructs in this dialect in Python.
2025-10-16[bazel][mlir][python] Port #163620: openacc py filegroup (#163864)Jordan Rupprecht1-0/+28
Used downstream
2025-09-23[bazel] buildifier reformat (#160382)Pranav Kant1-1/+1
2025-09-23[mlir] Fix bazel after d8b84be #2. (#160271)Bart Chrzaszcz1-0/+17
Need this as `mlir/dialects/transform/smt.py` imports it: ```py from .._transform_smt_extension_ops_gen import * from .._transform_smt_extension_ops_gen import _Dialect ```
2025-09-22[MLIR][Python] remove nb::typed to fix bazel build (#160183)Maksim Levental1-15/+0
https://github.com/llvm/llvm-project/pull/157930 broke bazel build (see https://github.com/llvm/llvm-project/pull/157930#issuecomment-3318681217) because bazel is stricter on implicit conversions (some difference in flags passed to clang). This PR fixes by moving/removing `nb::typed`. EDIT: and also the overlay...
2025-09-19[mlir:python] Port Python bindings of IRDL to bazel build. (#159721)Ingo Müller1-0/+32
This PR sets up build rules for the Python bindings of the IRDL dialect introduced by #158488. The absence of them does not break the bazel build but some downstream users rely on them. Signed-off-by: Ingo Müller <ingomueller@google.com>
2025-09-12Revert "[bazel][mlir][python] Port #155741: stub auto-generation (#157173)" ↵Alex Trotta1-0/+36
(#157995) This reverts commit 46d8fdd86ec79ba241b0db6c7fedc835902bc960. The whole set of commits got reverted in https://github.com/llvm/llvm-project/pull/157831, reverting this one too.
2025-09-08[bazel][mlir][python] Port #157127: UB dialect filegroup (#157473)Jordan Rupprecht1-0/+25
Used downstream
2025-09-05[bazel][mlir][python] Port #155741: stub auto-generation (#157173)Jordan Rupprecht1-36/+0
* Nanobind >= 2.9 is required now. Use 2.9.2 * Remove pyi filegroups that now refer to deleted files
2025-07-14[mlir][bazel] Fix 9609655Walter Lee1-2/+2
2025-07-14[bazel] Add targets for transform.tune python extension (#148656)Yi Zhang1-0/+26
2025-06-26[bazel] Add targets for transform.debug python extension (#146022)Jordan Rupprecht1-0/+26
For #145550 / c08502defe47d71d3e0beecee8ca040279c4dff9
2025-05-16NFC: reformat bazel files with buildifier.James Y Knight1-1/+1
2025-05-05[bazel] NFC: Change `tbl_outs` to dicts. (#137788)Christian Sigg1-505/+256
There were some `gentbl_cc_library` targets left to convert. Allow `gentbl_filegroup` rule to take a dict as well and change all targets. Move lld/BUILD.bazel from //llvm:tblgen.bzl to //mlir:tblgen.bzl, delete the former. This makes the BUILD files shorter and more readable.
2025-04-21[mlir][SMT] update Bazel configuration to match 697aa99 (#136616)lexi-nadia1-0/+47
Update Bazel configuration to match 697aa9995c24a977425e672d76a4a434384b16e3.
2025-03-07[bazel] update mlir python deps for 95767a9903208e545badd920a1a16e5476ae09f9Augie Fackler1-0/+1
2024-12-11[bzl][mlir][emitc] Add build targets for EmitC C-API/Python bindings (#119610)Jordan Rupprecht1-0/+30
Added by 3c464d23682b0f9e6f70965e8f8f3861c9ba5417
2024-06-11[mlir] Add PDL C & Python usage (#94714)Jacques Pienaar1-0/+7
Following a rather direct approach to expose PDL usage from C and then Python. This doesn't yes plumb through adding support for custom matchers through this interface, so constrained to basics initially. This also exposes greedy rewrite driver. Only way currently to define patterns is via PDL (just to keep small). The creation of the PDL pattern module could be improved to avoid folks potentially accessing the module used to construct it post construction. No ergonomic work done yet. --------- Signed-off-by: Jacques Pienaar <jpienaar@google.com>
2024-04-23[mlir][bazel] drop unnecessary ruleOleksandr "Alex" Zinenko1-7/+0
#75960 added a bazel rule for generating enums for the async dialects, but there are no enums defined, and no cmake rule for that. Delete this rule.
2024-04-20[mlir][python] Fix generation of Python bindings for `async` dialect (#75960)Abhishek Kulkarni1-0/+47
The Python bindings generated for "async" dialect didn't include any of the "async" dialect ops. This PR fixes issues with generation of Python bindings for "async" dialect and adds a test case to use them.
2024-03-21[mlir][Bazel] Add target for index dialect python bindingsAdrian Kuegel1-0/+38
2024-02-21[mlir] expose transform interpreter to Python (#82365)Oleksandr "Alex" Zinenko1-0/+5
Transform interpreter functionality can be used standalone without going through the interpreter pass, make it available in Python.
2024-01-09[mlir][bufferization][NFC] Clean up Bazel build files (#77429)Matthias Springer1-2/+0
`*OpsIncGen` should depend only on the respective `*OpsTdFiles`.
2024-01-02[mlir][bazel] Add SPIRV python bindingOleg Shyshkov1-0/+31
2023-12-21[mlir][bazel] Fix build after acaff70841f59a1aec2a3c417e9f3a0f14eb47adChristian Sigg1-1/+1
2023-12-15[MLIR][bazel] Fix build files for 681eacc1b670fd7137d8677fef6fc76c6e3… ↵Benjamin Chetioui1-0/+5
(#75615) …7dca9
2023-11-28[mlir][Python] Add filegroup for files in mlir/extras.Adrian Kuegel1-14/+18
This is needed after 225648e91ccd951eab9a4ab3200248d5617df1cc
2023-11-23[Bazel] Add Bazel build files for Python bindings of the GPU dialect (#73256)Adam Paszke1-0/+56
2023-11-01[mlir][Interfaces] Add `SubsetOpInterface` and `SubsetExtractionOpInterface` ↵Matthias Springer1-1/+1
(#70617) There is currently an op interface for subset insertion ops (`SubsetInsertionOpInterface`), but not for subset extraction ops. This commit adds `SubsetExtractionOpInterface` to `mlir/Interfaces`, as well as a common dependent op interface: `SubsetOpInterface`. - `SubsetOpInterface` is for ops that operate on tensor subsets. It provides interface methods to check if two subset ops operate on equivalent or disjoint subsets. Ops that implement this interface must implement either `SubsetExtractionOpInterface` or `SubsetInsertionOpInterface`. - `SubsetExtractionOpInterface` is for ops that extract from a tensor at a subset. E.g., `tensor.extract_slice`, `tensor.gather`, `vector.transfer_read`. Current implemented only on `tensor.extract_slice`. - `SubsetInsertionOpInterface` is for ops that insert into a destination tensor at a subset. E.g., `tensor.insert_slice`, `tensor.parallel_insert_slice`, `tensor.scatter`, `vector.transfer_write`. Currently only implemented on `tensor.insert_slice`, `tensor.parallel_insert_slice`. Other changes: - Rename `SubsetInsertionOpInterface.td` to `SubsetOpInterface.td`. - Add helper functions to `ValueBoundsOpInterface.cpp` for checking whether two slices are disjoint. The new interfaces will be utilized by a new "loop-invariant subset hoisting" transformation. (This new transform is roughly what `Linalg/Transforms/SubsetHoisting.cpp` is doing, but in a generic and interface-driven way.)
2023-10-19[bazel][mlir] fixes for a2288a89Emilio Cota1-19/+0
2023-10-12[Affine][Bazel] Added AffineOps to BUILD.bazel file (#68842)Balaji V. Iyer1-0/+44
Added AffineOps and correct dependencies to the BUILD.bazel file.
2023-10-03[mlir] enable python bindings for nvgpu transforms (#68088)Oleksandr "Alex" Zinenko1-0/+20
Expose the autogenerated bindings. Co-authored-by: Martin Lücke <mluecke@google.com>
2023-09-21[mlir] more bazel fixes for vector attributesAlex Zinenko1-0/+1
2023-09-21[mlir][python] smaller scope for vector enumgen (#66992)Oleksandr "Alex" Zinenko1-5/+18
Don't generate enums from the main VectorOps.td file as that transitively includes enums from Arith. --------- Co-authored-by: Nicolas Vasilache <ntv@google.com>
2023-09-20[mlir][sparse] Generates python bindings for SparseTensorTransformOps. (#66937)Peiming Liu1-0/+20
2023-09-20[mlir] Bazel fixes for 1b8b55644313216e6b0fa233bbd8b01fee23f99f (#66929)Nicolas Vasilache1-0/+1
2023-09-18[mlir] Fix Bazel buildMatthias Springer1-0/+2
2023-08-23set correct mlir dir for td fileYijia Gu1-3/+3
2023-08-23add openmp python binding in bazelYijia Gu1-1/+32
2023-08-23fix format error in python/BUILD.bazelYijia Gu1-4/+4
2023-08-23update bazel for python bindingYijia Gu1-11/+152
2023-08-14[Bazel] [python bindings] Bindings for vendor GPU dialectsJohannes Reifferscheid1-0/+160
Reviewed By: olegshyshkov Differential Revision: https://reviews.llvm.org/D157841