heir
heir copied to clipboard
Replace HEIR polynomial dialect with upstream dialect
Pending
- https://github.com/llvm/llvm-project/pull/91137
- https://github.com/llvm/llvm-project/pull/91410
Main remaining problem is that the openfhe end_to_end tests don't build. heir-translate is apparently not able to load the Polynomial dialect's attributes, despite the fact that it's properly loaded upstream.
LLVM ERROR: can't create Attribute 'mlir::polynomial::IntPolynomialAttr' because storage uniquer isn't initialized: the dialect was likely not loaded, or the attribute wasn't added with addAttributes<...>() in the Dialect::initialize() method.
All the fixes are in, and now we just need to wait until the upstream changes are integrated into HEIR, probably will happen on Monday.
We're still missing the last upstream PR that will fix the remaining test failure