[PATCH] D78327: [mlir][Linalg] Create a named batchmatmul op and pipe it through.

Nicolas Vasilache via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 17 11:53:43 PDT 2020


nicolasvasilache marked 2 inline comments as done.
nicolasvasilache added a comment.

> That's great. In fact, the following is less verbose and should work:
> 
>   auto opBuilder = OpBuilder::atBlockBegin(&region.front());

It doesn't unfortunately because of exactly the same problem: there is no context in the block or the region.
The OpBuilder must be constructed with a context and then step into the region.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D78327





More information about the llvm-commits mailing list