[Mlir-commits] [mlir] Support polynomial attributes with floating point coefficients (PR #91137)
Jeremy Kun
llvmlistbot at llvm.org
Wed May 8 09:42:08 PDT 2024
================
@@ -149,7 +172,7 @@ def Polynomial_PolynomialType : Polynomial_Type<"Polynomial", "polynomial"> {
A type for polynomials in a polynomial quotient ring.
}];
let parameters = (ins Polynomial_RingAttr:$ring);
- let assemblyFormat = "`<` $ring `>`";
+ let assemblyFormat = "`<` qualified($ring) `>`";
----------------
j2kun wrote:
I'd prefer a format that is somewhat future proof to additions of new fields. How does `struct(params)` seem? Cf. 43911fc8df75
https://github.com/llvm/llvm-project/pull/91137
More information about the Mlir-commits
mailing list