[Mlir-commits] [mlir] [mlir][AsmPrinter] Print op properties directly in generic form (PR #106996)

Mehdi Amini llvmlistbot at llvm.org
Tue Sep 3 12:17:01 PDT 2024


joker-eph wrote:

> I.e. if we end up having unregistered operation, we go through [UnregisteredOpModel](https://github.com/llvm/llvm-project/blob/fe1a1eee2ff864d2ba00ad67e6360b7178e67d5c/mlir/include/mlir/IR/OperationSupport.h#L194) and that one has to store properties in some form (now, as a dict attr I guess) u

Yeah that is the concern: right now the fact that we emit an attribute means we can always parse it back without the op parser registered.

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


More information about the Mlir-commits mailing list