[Mlir-commits] [mlir] [MLIR][Python] Add optional arguments to PassManager IR printing (PR #89301)
Oleksandr Alex Zinenko
llvmlistbot at llvm.org
Mon Apr 22 01:01:56 PDT 2024
================
@@ -74,10 +74,25 @@ void mlir::python::populatePassManagerSubmodule(py::module &m) {
"Releases (leaks) the backing pass manager (testing)")
.def(
"enable_ir_printing",
- [](PyPassManager &passManager) {
- mlirPassManagerEnableIRPrinting(passManager.get());
+ [](PyPassManager &passManager, bool print_before_pass,
----------------
ftynse wrote:
Please use consistent naming scheme for variables. C++ code uses camelCase, Python code uses snake_case, neither should be mixing both.
https://github.com/llvm/llvm-project/pull/89301
More information about the Mlir-commits
mailing list