[Mlir-commits] [mlir] [mlir] Expose type and attribute names in the MLIRContext and abstract type/attr classes (PR #72189)

Maksim Levental llvmlistbot at llvm.org
Mon Nov 13 21:20:19 PST 2023


================
@@ -64,6 +64,7 @@ def Builtin_AffineMapAttr : Builtin_Attr<"AffineMap", [
     AffineMap getAffineMap() const { return getValue(); }
   }];
   let skipDefaultBuilders = 1;
+  let attrName = "builtin.affine_map";
----------------
makslevental wrote:

So I'm just curious - why can't the same reparameterization that's done for `Builtin_Type` (taking the mnemonic as an arg) be done for `Builtin_Attr`?

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


More information about the Mlir-commits mailing list