[PATCH] D76413: [mlir][Linalg] NFC: Clean up for 0-D abstraction.

Han-Chung Wang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 18 23:19:32 PDT 2020


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

After D75831 <https://reviews.llvm.org/D75831> has been landed, both the generic op and indexed_generic op can
handle 0-D edge case. In the previous patch, only generic op has been updated.
This patch updates the lowering to loops for indexed_generic op. Since they are
almost the sanme, the patch also refactors the common part.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D76413

Files:
  mlir/lib/Dialect/Linalg/Transforms/LinalgToLoops.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D76413.251283.patch
Type: text/x-patch
Size: 6477 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200319/041a5c10/attachment.bin>


More information about the llvm-commits mailing list