[PATCH] D72580: [mlir][Linalg] Update ReshapeOp::build to be more idiomatic

Nicolas Vasilache via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jan 12 19:44:48 PST 2020


nicolasvasilache created this revision.
nicolasvasilache added reviewers: ftynse, jpienaar.
Herald added subscribers: llvm-commits, liufengdb, aartbik, lucyrfox, mgester, arpith-jacob, antiagainst, shauheen, burmako, rriddle, mehdi_amini.
Herald added a project: LLVM.

This diff makes it easier to create a `linalg.reshape` op
and adds an EDSC builder api test to exercise the new builders.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D72580

Files:
  mlir/include/mlir/Dialect/Linalg/EDSC/Intrinsics.h
  mlir/include/mlir/Dialect/Linalg/IR/LinalgOps.td
  mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
  mlir/test/EDSC/builder-api-test.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D72580.237574.patch
Type: text/x-patch
Size: 5667 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200113/3d8e36ca/attachment.bin>


More information about the llvm-commits mailing list