[Mlir-commits] [mlir] [MLIR][Python] Add the `--mlir-print-ir-tree-dir` to the C and Python API (PR #117339)

Maksim Levental llvmlistbot at llvm.org
Sat Nov 23 08:36:00 PST 2024


================
@@ -76,14 +76,16 @@ void mlir::python::populatePassManagerSubmodule(py::module &m) {
           "enable_ir_printing",
           [](PyPassManager &passManager, bool printBeforeAll,
              bool printAfterAll, bool printModuleScope, bool printAfterChange,
-             bool printAfterFailure) {
+             bool printAfterFailure, std::string treePrintingPath) {
----------------
makslevental wrote:

> superficial stylistic argument here

https://discourse.llvm.org/t/maybe-unused-vs-attribute-unused-vs-void-var-for-assert-variables/64212/30

https://github.com/llvm/llvm-project/pull/117339


More information about the Mlir-commits mailing list