Enzyme-JAX
Enzyme-JAX copied to clipboard
Add support to raise an affine.for to stablehlo.while
To currently support affine.for, there is a PR which does an unrolling pass https://github.com/EnzymeAD/Enzyme-JAX/pull/441. This is a temporary hack to lower a for op but long term, we should raise this to stablehlo.while with support for induction variables.
Marking as complete since https://github.com/EnzymeAD/Enzyme-JAX/pull/457 is merged.
not quite, that PR doesn't support iter_args yet