[Mlir-commits] [mlir] [mlir] Add OpAsmTypeInterface for pretty-print (PR #121187)

Jacques Pienaar llvmlistbot at llvm.org
Mon Jan 13 19:25:36 PST 2025


================
@@ -1820,7 +1824,9 @@ ParseResult parseDimensionList(OpAsmParser &parser,
 //===--------------------------------------------------------------------===//
 
 /// The OpAsmOpInterface, see OpAsmInterface.td for more details.
-#include "mlir/IR/OpAsmInterface.h.inc"
+#include "mlir/IR/OpAsmTypeInterface.h.inc"
+// put Attr/Type before Op
----------------
jpienaar wrote:

Could you document why this ordering is needed? And are there any ordering requirements user side?

https://github.com/llvm/llvm-project/pull/121187


More information about the Mlir-commits mailing list