summaryrefslogtreecommitdiff
path: root/mlir/lib/CAPI/Dialect/TransformInterpreter.cpp
AgeCommit message (Collapse)Author
2024-04-17[mlir] expose transform dialect symbol merge to python (#87690)Oleksandr "Alex" Zinenko
This functionality is available in C++, make it available in Python directly to operate on transform modules.
2024-03-20[mlir] split transform interfaces into a separate library (#85221)Oleksandr "Alex" Zinenko
Transform interfaces are implemented, direction or via extensions, in libraries belonging to multiple other dialects. Those dialects don't need to depend on the non-interface part of the transform dialect, which includes the growing number of ops and transitive dependency footprint. Split out the interfaces into a separate library. This in turn requires flipping the dependency from the interface on the dialect that has crept in because both co-existed in one library. The interface shouldn't depend on the transform dialect either. As a consequence of splitting, the capability of the interpreter to automatically walk the payload IR to identify payload ops of a certain kind based on the type used for the entry point symbol argument is disabled. This is a good move by itself as it simplifies the interpreter logic. This functionality can be trivially replaced by a `transform.structured.match` operation.
2024-02-21[mlir] expose transform interpreter to Python (#82365)Oleksandr "Alex" Zinenko
Transform interpreter functionality can be used standalone without going through the interpreter pass, make it available in Python.