Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(compiler): Preserve original values of extra conversions in TFHE …
…circuit parametrization Since conversions at the edge of partitions determined by the optimizer are specified at the producer of a value, `MaterializePartitionBoundaryPattern` may eagerly replace references to the original value before conversion, resulting in conflicts. This commit adds a check to the conflict handling routine that checks if the producer of an operation with a conflicting operand is a keyswitch operation that converts the original value of an extra conversion with the required, non-conflicting type. If this is the case, the conflict is handled by simply forwarding the original value from the operand of the producing keyswitch operation. Resolves Issue #538 (zama-ai/concrete-internal#538).
- Loading branch information