PassManager.run is currently restricted to running on builtin.module
ops, but this restriction doesn't exist on the C++ side. This updates it
to take ir.Operation/OpView instead of ir.Module.
Depends on D143354
Paths
| Differential D143356
[mlir][python] Allow running pass manager on any operation ClosedPublic Authored by rkayaith on Feb 5 2023, 3:19 PM.
Details Summary PassManager.run is currently restricted to running on builtin.module Depends on D143354
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Feb 5 2023, 6:17 PM rkayaith added a child revision: D143830: [mlir][python] Remove "Raw" OpView classes.Feb 26 2023, 8:44 PM Closed by commit rGc00f81cc46bd: [mlir][python] Allow running pass manager on any operation (authored by rkayaith). · Explain WhyMar 1 2023, 3:17 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 501679 mlir/lib/Bindings/Python/Pass.cpp
mlir/test/Integration/Dialect/SparseTensor/python/tools/sparse_compiler.py
mlir/test/Integration/Dialect/SparseTensor/taco/tools/mlir_sparse_compiler.py
mlir/test/python/execution_engine.py
mlir/test/python/integration/dialects/linalg/opsrun.py
mlir/test/python/pass_manager.py
|