mirror of
https://github.com/zama-ai/concrete.git
synced 2026-01-21 18:57:56 -05:00
Until now, the pass hoisting `RT.await_future` operations only supports `tensor.parallel_insert_slice` operations that use loop induction variables directly as indexes. Any more complex indexing expressions produce a domination error, since a `tensor.parallel_insert_slice` cloned by the pass into an additional parallel for loop is left with references to values from the original loop. This change properly clones operations producing intermediate values within the original parallel for loop and thus adds support for indexing expressions that reference loops IVs only indirectly.