[all-commits] [llvm/llvm-project] abad84: [mlir] Expose skipRegions option for Op printing i...
Jonas Rickert via All-commits
all-commits at lists.llvm.org
Thu Jun 20 08:15:30 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: abad8455ab08d4ca25b893e6a4605c1abe4aac02
https://github.com/llvm/llvm-project/commit/abad8455ab08d4ca25b893e6a4605c1abe4aac02
Author: Jonas Rickert <semi1 at posteo.de>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M mlir/include/mlir-c/IR.h
M mlir/lib/Bindings/Python/IRCore.cpp
M mlir/lib/Bindings/Python/IRModule.h
M mlir/lib/CAPI/IR/IR.cpp
M mlir/python/mlir/_mlir_libs/_mlir/ir.pyi
M mlir/test/CAPI/ir.c
M mlir/test/python/ir/operation.py
Log Message:
-----------
[mlir] Expose skipRegions option for Op printing in the C and Python bindings (#96150)
The MLIR C and Python Bindings expose various methods from
`mlir::OpPrintingFlags` . This PR adds a binding for the `skipRegions`
method, which allows to skip the printing of Regions when printing Ops.
It also exposes this option as parameter in the python `get_asm` and
`print` methods
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