[Mlir-commits] [mlir] Upstream polynomial.ntt and polynomial.intt (PR #90992)

Jeremy Kun llvmlistbot at llvm.org
Sat May 4 18:03:19 PDT 2024


================
@@ -202,11 +202,30 @@ Attribute RingAttr::parse(AsmParser &parser, Type type) {
     polyAttr = attr;
   }
 
+  Polynomial poly = polyAttr.getPolynomial();
+  APInt root(coefficientModulusAttr.getValue().getBitWidth(), 0);
+  bool hasRoot = succeeded(parser.parseOptionalComma());
----------------
j2kun wrote:

Fixed in afedacc7478

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


More information about the Mlir-commits mailing list