aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/IR/Module.cpp
diff options
context:
space:
mode:
authorAkshay Khadse <akshayskhadse@gmail.com>2025-07-17 12:57:04 -0400
committerGitHub <noreply@github.com>2025-07-17 12:57:04 -0400
commite4a3541ff88af03c01007a94b6b5f5cea95ecf33 (patch)
tree1889c56aaccd62cbf8e3da381e041582458b8606 /llvm/lib/IR/Module.cpp
parentb3a8d0efc907aae8198ff16e5bfb8dc48f08b6ca (diff)
downloadllvm-e4a3541ff88af03c01007a94b6b5f5cea95ecf33.zip
llvm-e4a3541ff88af03c01007a94b6b5f5cea95ecf33.tar.gz
llvm-e4a3541ff88af03c01007a94b6b5f5cea95ecf33.tar.bz2
[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.
Diffstat (limited to 'llvm/lib/IR/Module.cpp')
0 files changed, 0 insertions, 0 deletions