[PATCH] D80188: [mlir][Linalg] Avoid using scf.parallel for non-parallel loops in Linalg ops.

Mahesh Ravishankar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat May 23 01:33:18 PDT 2020


mravishankar added a comment.

In D80188#2046505 <https://reviews.llvm.org/D80188#2046505>, @nicolasvasilache wrote:

> On the change itself, this does not seem to support interleaving.
>  I think I would rather try to go for a recursive helper function that takes ArrayRef slices and a leaf lambda but otherwise leaves GenericLoopNestBuilder untouched.
>  This should also evolve better when we have more loop types.


Modified this to not change the EDSC builders but added a Util struct that implements what is needed. PTAL


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D80188/new/

https://reviews.llvm.org/D80188





More information about the llvm-commits mailing list