matthias-springer wrote: I'm not happy with solution yet, but don't have time to work at this at the moment. The issue with "scf.forall" has been fixed with #65449. Closing this PR for now. https://github.com/llvm/llvm-project/pull/65305