[Mlir-commits] [mlir] [mlir] Add the ability to override attribute parsing/printing in attr-dicts (PR #103304)

Mehdi Amini llvmlistbot at llvm.org
Wed Aug 14 13:14:28 PDT 2024


joker-eph wrote:

Thanks for elaborating!

I'm wondering if this is really that commonly needed or if it isn't instead quite "exotic"?

This can already be supported in custom C++ assembly, so may be what's missing instead is the ability to have a custom call-back for the declarative assembly `attr-dict` ?

As of https://github.com/llvm/llvm-project/pull/100336 ; we have some cleanup to do in terms of syntax as with the introduction of properties we should really move **all** the inherent attributes outside of the `attr-dict` printing anyway: which makes this feature even more exotic I think.

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


More information about the Mlir-commits mailing list