google / heir

A compiler for homomorphic encryption
https://heir.dev/
Apache License 2.0
350 stars 49 forks source link

Repatriate polynomial dialect #1089

Closed copybara-service[bot] closed 1 week ago

copybara-service[bot] commented 1 week ago

Repatriate polynomial dialect

Due to some governance discussions in upstream MLIR 1, we decided it would be appropriate to move the polynomial dialect back into the HEIR tree. We also have some plans to make minor changes to the types, for instance changing the coefficient type to AnyType and removing the coefficient modulus to support things like RNS+modarith coefficient rings, and we felt it would be simpler to just make these changes in tree rather than burden the MLIR community and core maintainers with them. Cf. https://github.com/google/heir/issues/1085