Hi,
I found Unroll & Jam transform useful for some cases I am solving.
The idea of unroll is desribed in the discussion here (see summary).
I wrote PR that exposes the implementation done to Affine dialect and in addition added partial support to SCF dialect.
Feel free to code review and give some comments:
Thanks,
Aviad