[Mlir-commits] [mlir] [MLIR][Python] Expose `PassManager::enableStatistics` to CAPI and Python (PR #162591)
    llvmlistbot at llvm.org 
    llvmlistbot at llvm.org
       
    Thu Oct  9 00:12:45 PDT 2025
    
    
  
================
@@ -138,6 +145,14 @@ void mlir::python::populatePassManagerSubmodule(nb::module_ &m) {
             mlirPassManagerEnableTiming(passManager.get());
           },
           "Enable pass timing.")
+      .def(
+          "enable_statistics",
----------------
PragmaTwice wrote:
It indeed looks good but I think currently we cannot do it before some modification to the C++ API. I'll try to look into the C++ API and see if we can do something later : )
https://github.com/llvm/llvm-project/pull/162591
    
    
More information about the Mlir-commits
mailing list