[Mlir-commits] [mlir] [mlir] Add the ability to override attribute parsing/printing in attr-dicts (PR #103304)
Benjamin Maxwell
llvmlistbot at llvm.org
Wed Aug 14 01:05:14 PDT 2024
MacDue wrote:
> > If parseNamedAttrFn is provided the default parsing can be overridden for a named attribute. parseNamedAttrFn is passed the name of an attribute,
>
> What if we wanted to override printing for multiple named attributes?
It's called for each attribute so just use a StringSwitch in your callback.
https://github.com/llvm/llvm-project/pull/103304
More information about the Mlir-commits
mailing list