[Mlir-commits] [mlir] [mlir][OpPrintingFlags] Allow to disable ElementsAttr hex printing (PR #85766)
Mehdi Amini
llvmlistbot at llvm.org
Mon Apr 8 17:08:22 PDT 2024
================
@@ -1199,6 +1212,10 @@ class OpPrintingFlags {
/// Elide printing large resources based on size of string.
std::optional<uint64_t> resourceStringCharLimit;
+ /// Print large element attributes with hex strings if the number of elements
+ /// is larger than the upper limit.
+ int64_t elementsAttrHexElementLimit = 100;
----------------
joker-eph wrote:
LG
https://github.com/llvm/llvm-project/pull/85766
More information about the Mlir-commits
mailing list