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

Mehdi Amini llvmlistbot at llvm.org
Mon Sep 2 10:45:41 PDT 2024


joker-eph wrote:

> I think if we just go with "default-created properties should be printable" invariant, this would give us the guarantees we want without needing to invent attributes for properties.

Why is « default constructed » important here?

Also, back to the invariant of the generic format: « we can parse it back without registering the op » has been what we preserved so far. I am a bit nervous about breaking this.

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


More information about the Mlir-commits mailing list