[Mlir-commits] [mlir] [MLIR][TableGen] Add inheritableExtraClassDeclaration/Definition for Op and AttrOrTypeDef (PR #182265)
Mehdi Amini
llvmlistbot at llvm.org
Thu Feb 19 07:21:40 PST 2026
joker-eph wrote:
> Motivation: The existing extraClassDeclaration/extraClassDefinition fields follow standard TableGen override semantics: when a derived class sets them, the base class value is lost.
Isn't this showing a more fundamental issue with TableGen? Could we get a solution within the language? This seems like a recurring issue and manually patching every backend for every kind of field to handle seems a bit ad-hoc.
https://github.com/llvm/llvm-project/pull/182265
More information about the Mlir-commits
mailing list