This PR adds to the generateLoopTerminatorFn callback the loops generated by GenerateLoopHeaderFn. This is needed to correctly set the insertion point with scf.forall ops.
InParallelOpInterface
mlir/Dialect
scf.for
getDefiningOp<OpTy>()
dyn_cast<OpTy>(getDefiningOp())
-scf-rotate-while