[PATCH] D75391: [mlir][Linalg] Fix load/store operations generated while lower loops when output has zero rank.

Mahesh Ravishankar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 28 15:39:40 PST 2020


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

While lowering to loops, no indices should be used in the load/store
operation if the buffer is zero-rank.

Depends On D75287 <https://reviews.llvm.org/D75287>


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D75391

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D75391.247380.patch
Type: text/x-patch
Size: 7772 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200228/827c1f3d/attachment.bin>


More information about the llvm-commits mailing list