[PATCH] D79135: [mlir][Linalg] Add support to lower named ops to loops.

Nicolas Vasilache via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 29 16:12:53 PDT 2020


nicolasvasilache marked an inline comment as done.
nicolasvasilache added inline comments.


================
Comment at: mlir/lib/Dialect/Linalg/Transforms/LinalgToLoops.cpp:186
+
+    // TODO(ntv): When a region inliner exists, use it.
+    // 2. Inline region, currently only works for a single basic block.
----------------
rriddle wrote:
> Depends on what you need, but you could use mlir::inlineRegion. You just need to provide an InlinerInterface.
Ack, keeping that for a global change in a separate revision.
Thanks!


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D79135





More information about the llvm-commits mailing list