[Mlir-commits] [mlir] [OpenMP][MLIR] Add omp.distribute op to the OMP dialect (PR #67720)

Jan Leyonberg llvmlistbot at llvm.org
Tue Oct 3 13:43:24 PDT 2023


jsjodin wrote:


> The issue here is that `omp.parallel` can potentially be outlined into a function and it is a legal transformation. But if this transformation is performed, then the unroll of the inner loop is lost and existing data dependence will not prevent that.

If the outlining is done then %cli2 would become a parameter to the outlined function, so the the outlining wouldn't be lost. but it would require an interprocedural view. How would this work with the original proposal? Would the CLI's be returned from the outlined function?

https://github.com/llvm/llvm-project/pull/67720


More information about the Mlir-commits mailing list