[Mlir-commits] [mlir] [mlir] Add OpAsmTypeInterface for pretty-print (PR #121187)
Jacques Pienaar
llvmlistbot at llvm.org
Mon Jan 13 19:25:38 PST 2025
================
@@ -109,6 +109,31 @@ def OpAsmOpInterface : OpInterface<"OpAsmOpInterface"> {
];
}
+//===----------------------------------------------------------------------===//
+// OpAsmTypeInterface
+//===----------------------------------------------------------------------===//
+
+def OpAsmTypeInterface : TypeInterface<"OpAsmTypeInterface"> {
+ let description = [{
+ This interface provides hooks to interact with the AsmPrinter and AsmParser
----------------
jpienaar wrote:
Micro nit: This type interface
I was just thinking the same description could probably have been used for 2 other interfaces, and I don't recall if our documentation generation differntiates between interface types well enough that it would be shown there.
https://github.com/llvm/llvm-project/pull/121187
More information about the Mlir-commits
mailing list