[Mlir-commits] [mlir] [MLIR][Python] Expose `PassManager::enableStatistics` to CAPI and Python (PR #162591)
Oleksandr Alex Zinenko
llvmlistbot at llvm.org
Thu Oct 9 02:56:17 PDT 2025
================
@@ -138,6 +145,14 @@ void mlir::python::populatePassManagerSubmodule(nb::module_ &m) {
mlirPassManagerEnableTiming(passManager.get());
},
"Enable pass timing.")
+ .def(
+ "enable_statistics",
----------------
ftynse wrote:
I'd also suggest to rename the C++ function. It may have been `enable_statistics(bool)` at some point...
https://github.com/llvm/llvm-project/pull/162591
More information about the Mlir-commits
mailing list