[Mlir-commits] [mlir] [MLIR][Python] Expose `PassManager::enableStatistics` to CAPI and Python (PR #162591)
Oleksandr Alex Zinenko
llvmlistbot at llvm.org
Wed Oct 8 23:48:35 PDT 2025
================
@@ -138,6 +145,14 @@ void mlir::python::populatePassManagerSubmodule(nb::module_ &m) {
mlirPassManagerEnableTiming(passManager.get());
},
"Enable pass timing.")
+ .def(
+ "enable_statistics",
----------------
ftynse wrote:
Naming not: "enable statistics" calls for a boolean argument. I'd consider something like set pass display mode instead, or a pass display mode property if there is a way to fetch back the current value
https://github.com/llvm/llvm-project/pull/162591
More information about the Mlir-commits
mailing list