[PATCH] D77676: [mlir][Linalg] Use subview instead of linalg.slice in Promotion.cpp

Nicolas Vasilache via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 7 13:03:53 PDT 2020


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

This revision removes the reliance of Promotion on `linalg.slice` which is meant
for the rank-reducing case.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D77676

Files:
  mlir/lib/Dialect/Linalg/Transforms/Promotion.cpp
  mlir/test/Dialect/Linalg/promote.mlir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D77676.255776.patch
Type: text/x-patch
Size: 14791 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200407/66361f92/attachment.bin>


More information about the llvm-commits mailing list