[Mlir-commits] [mlir] [MLIR] Add inherent attribute visitor (PR #217881)
Mehdi Amini
llvmlistbot at llvm.org
Tue Aug 25 15:47:35 PDT 2026
================
@@ -107,6 +107,7 @@ class OperationName {
// class is defined below.
using PopulateDefaultAttrsFn =
llvm::unique_function<void(const OperationName &, NamedAttrList &) const>;
+ using InherentAttrVisitor = llvm::function_ref<void(StringAttr, Attribute &)>;
----------------
joker-eph wrote:
Indeed! I had DictionaryAttr in mind and missed that this would add an unnecessary conversion...
https://github.com/llvm/llvm-project/pull/217881
More information about the Mlir-commits
mailing list