[Mlir-commits] [mlir] [mlir][OpPrintingFlags] Allow to disable ElementsAttr hex printing (PR #85766)
Andrei Golubev
llvmlistbot at llvm.org
Mon Apr 8 10:02:21 PDT 2024
================
@@ -1131,6 +1131,10 @@ class OpPrintingFlags {
/// elements.
OpPrintingFlags &elideLargeElementsAttrs(int64_t largeElementLimit = 16);
+ /// Enable or disable printing of large element attributes as a hex string. By
+ /// default, printing as hex is allowed (enabled).
+ OpPrintingFlags &allowPrintingElementsAttrWithHex(bool allowHex = true);
----------------
andrey-golubev wrote:
done.
https://github.com/llvm/llvm-project/pull/85766
More information about the Mlir-commits
mailing list