Files
clang-p2996/mlir/lib/Dialect/Polynomial/IR/PolynomialOps.cpp
Hongren Zheng d48777ece5 [mlir][polynomial] remove incorrect canonicalization rule (#110318)
arith.add for tensor does not mod coefficientModulus, and it may
overflow; the result could be incorrect

It should be rewritten as modular arithmetic instead of arith

Revert https://github.com/llvm/llvm-project/pull/93132
Addresses https://github.com/google/heir/issues/749

Cc @j2kun
2024-09-28 08:37:57 -07:00

11 KiB