llvm-project
e4a3541f - [MLIR][Python] Support eliding large resource strings in PassManager (#149187)

Commit
74 days ago
[MLIR][Python] Support eliding large resource strings in PassManager (#149187) - Introduces a `large_resource_limit` parameter across Python bindings, enabling the eliding of resource strings exceeding a specified character limit during IR printing. - To maintain backward compatibilty, when using `operation.print()` API, if `large_resource_limit` is None and the `large_elements_limit` is set, the later will be used to elide the resource string as well. This change was introduced by https://github.com/llvm/llvm-project/pull/125738. - For printing using pass manager, the `large_resource_limit` and `large_elements_limit` are completely independent of each other.
Author
Parents
Loading