[all-commits] [llvm/llvm-project] f8eceb: [MLIR] [Python] align python ir printing with mlir...

Bimo via All-commits all-commits at lists.llvm.org
Tue Sep 17 20:54:37 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f8eceb45d0bbca092164efffc92f2e9d66b304a5
      https://github.com/llvm/llvm-project/commit/f8eceb45d0bbca092164efffc92f2e9d66b304a5
  Author: Bimo <rui.xu at intel.com>
  Date:   2024-09-18 (Wed, 18 Sep 2024)

  Changed paths:
    M mlir/include/mlir-c/Pass.h
    M mlir/lib/Bindings/Python/Pass.cpp
    M mlir/lib/CAPI/IR/Pass.cpp
    M mlir/python/mlir/_mlir_libs/_mlir/passmanager.pyi
    M mlir/test/python/pass_manager.py

  Log Message:
  -----------
  [MLIR] [Python] align python ir printing with mlir-print-ir-after-all (#107522)

When using the `enable_ir_printing` API from Python, it invokes IR
printing with default args, printing the IR before each pass and
printing IR after pass only if there have been changes. This PR attempts
to align the `enable_ir_printing` API with the documentation



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list